how to use a sql database table for 2 difference cases? (C#) [closed]
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 questionin 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:-)
精彩评论