1,105,375 Community Members

Creating datatable by code without defining dataset

Member Avatar
skran
Light Poster
48 posts since Nov 2011
Reputation Points: 9 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

I would like to give me your help please.. I have connected my sql db with vb and I m trying to make a UI. My question is that when I write code in order to create datatables and I fill them with the results of queries I've created, where do these datatables belong? I'm wondering if I have to define a new dataset or do they belong to the existed dataset which is created by the dataset configuration wizard??

Member Avatar
lolafuertes
Posting Shark
912 posts since Oct 2008
Reputation Points: 145 [?]
Q&As Helped to Solve: 196 [?]
Skill Endorsements: 7 [?]
 
0
 

Maybe this article can help you to understant the data table object in Visual Studio.

Hope this helps

Member Avatar
skran
Light Poster
48 posts since Nov 2011
Reputation Points: 9 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

thnx a lot!

Member Avatar
thines01
Postaholic
2,420 posts since Oct 2009
Reputation Points: 389 [?]
Q&As Helped to Solve: 413 [?]
Skill Endorsements: 10 [?]
Team Colleague
Featured
 
0
 

Of course, you can also read from tables and write to tables using SqlDataReader and SqlCommand without ever dealing with DataTables and DataSets.

Question Answered as of 2 Years Ago by lolafuertes and thines01
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: