Hi,

I have a DataTable(paceTime), a DataGrid(paceTimeGrid) and a Binding(paceTimeBinding).
The grid is load via ReadXml; this works, all rows are displayed.
Now, I want to apply a filter on the grid and show only filtered rows.

Code:
..      
// just a snippet from *.designer.cs:
            this.paceTimeGrid.DataSource = this.paceTimeBinding;
            this.paceTimeBinding.DataSource = typeof(PaceTimeDataTable);
...    
// applying the filter:
            string FName ="Hugo";
            string FString = string.Format("Name = '{0:}'",FName);
            paceTimeBinding.Filter = FString;

// whats next?
How can I repaint the grid, displaying only filtered rows? Is there something like Invalidate, or do I have to Select the matching rows and rebuild the grid?


I'm using VS2008 and .Net 4.

Thanx f.y.h.