PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Changing DataViewManager.RowFilter has no effect - Sample Northwind Code Attached - Northwind.zip (0/1)
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Changing DataViewManager.RowFilter has no effect - Sample Northwind Code Attached - Northwind.zip (0/1)
![]() |
Changing DataViewManager.RowFilter has no effect - Sample Northwind Code Attached - Northwind.zip (0/1) |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Using a strongly typed dataset, a DataGrid and some bound text
controls where the user selects a row in the DataGrid and the bound controls display it here is the problem: If I bind the grid and the controls to the tables DefaultView and I change the DefaultView.RowFilter the grid changes as expected. If I bind the grid and the controls to a DataViewManager and I change the RowFilter nothing happens. The attached sample code has a checkbox below the DataGrid that will attempt to filter the Northwind.Customers.Region field for NULLS. There are two forms one that binds using the DataViewManager (NOT WORKING) and the other using the DefaultView (WORKING). I need to use the DataViewManager so if anyone can figure out why this isn't working or point out the error of my ways I would be most appreciative. Phil William and I discussed some of this at length in another post "How do I bind to a DataView instead of a DataTable". |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

