|
-
Jan 4th, 2004, 09:44 AM
#1
Thread Starter
Registered User
database to dataset...
when I use OleDBDataAdapter with arguments (Command, Connection) my command is always "SELECT * FROM tableName".
then I use DataAdapter.Fill(myDataSet)
how can i use it to fill from the whole Database and not just the one table i specify in the command string?
-
Jan 4th, 2004, 09:51 AM
#2
Sleep mode
Either you use multiple DataTable objects then add them to DataTableCollection of the dataset you're working with
or include as many tables as you really need in the command SQL String like this if I'm right .
"SELECT * FROM tableName,tabletwo,tablethree".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|