C# Same DataSource + Multiple DataGridViews = Data Binding Issues?
- by C. Griffin
Here's what I'm doing:
I have (2) DataGridView controls
DGV #1 is bound to the DataSet, DGV #2 is bound to a DataView of the SAME DataSet
Now, what I'm needing to accomplish here is this: When a user checks a boolean column on the original DGV, the second DGV should now display the newly checked row also.
The context is that the first DGV is a master list, and the second one is a "favorite" view of the first.
When I check the rows, the favorite column does NOT update. Do I need to use a DataAdapter to actually update the database, or can I operate directly on the DataSet (DataTable) -- or even with the Rows in the original DataGridView?