Programmatically change TableAdapter Query

Ultrawhack

Well-known member
Joined
Jul 5, 2006
Messages
164
Location
Canada
Programming Experience
3-5
How can I programatically change TableAdapter Queries ?

My DGV is bound to a (access db) TableAdapter/Bindingsource Query and I need to programmatically change the query sql behind the tableadapter. And hopefully the DGV will update itself.

Can someone walk me through this ?
 
You dont, you establish more SQLs in the TA to fill the datatable. The contents of the DGV wont update automatically as it is only showing you what the datatable contains. TO have the DGV change, you must fill the data table with different data
 
Back
Top