开发者

how to use a sql database table for 2 difference cases? (C#) [closed]

Closed. This question is opinion-based. It is not currently accepting answers. 开发者_开发问答

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 9 years ago.

Improve this question

in C# ::I need to use a table for 2 school classes, i am using a table for one now, but i need to use a table same as this, for another school class. how can i do this? how many DataAdapter, DataSet or SqlConnection do I need?


Not knowing the exact structure of your database surely don't help to answer precisely to your question but considering the info you provided, if you use the same database engine for both of your tables, you can use one SqlConnection and as many DataAdapter, DataSet as you wish.

But you should establish a correct design of your database first and submit it would help everybody to give you a better answer than this one:-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜