q1w2e3r4t7
Active member
- Joined
- Nov 15, 2005
- Messages
- 30
When you use a DataSource in VS.05, it creates a DataTableAdapter in the [datasource] components part of your toolbox.
THis is great, as it already has all the tables, connection string etc.
However, if i want to retrieve only one record from the table rather than the entire table, how can i adjust the select command so taht i can add something like " ... where ID = 123" ? (this is something you could do by adjusting the select command of a normal oledbDataAdapter
Also am i wise to use the update method of the adapter or should i be performing the update another way?
Thanks
THis is great, as it already has all the tables, connection string etc.
However, if i want to retrieve only one record from the table rather than the entire table, how can i adjust the select command so taht i can add something like " ... where ID = 123" ? (this is something you could do by adjusting the select command of a normal oledbDataAdapter
Also am i wise to use the update method of the adapter or should i be performing the update another way?
Thanks