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)

Reply

Changing DataViewManager.RowFilter has no effect - Sample Northwind Code Attached - Northwind.zip (0/1)

 
Thread Tools Rate Thread
Old 12-02-2005, 12:24 PM   #1
Jay Pondy
Guest
 
Posts: n/a
Default Changing DataViewManager.RowFilter has no effect - Sample Northwind Code Attached - Northwind.zip (0/1)


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".

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off