I have a designed dataset for a table which includes multiple queries. On my form I have a datagridview, and I'd like this datagridview to look at a different query besides the default (fill) query.
I know I have to change the bindingsource, but in the bindingsource you can't drill down to the added queries.
I tried "Add Query" on binding source but that adds a tollstrip and button to execute the query - not desired.
I tried editing the code behind to execute the correct query. TableAdapter.FillCustom(theDataSet.Table), however, there's some problems with this:
1. The query has a different schema than the default fill table. I am using join statements to pull data from other tables
2. The datagridview does not get updated. I tried to update it myself, but after you update the tableadapter the wrong data types are attempted to be entered because the schema has changed with the query.
Any help is greatly appreciated.
neech
neech