DataViewManager - Apply DataView.RowFilter

  • Thread starter Thread starter tomb
  • Start date Start date
T

tomb

How to set the RowFilter property of a DataViewManager (dvm)
without to bind every time the dvm to control?

If I bind to a DataGrid (G)

G.DataSource = dvm;
G.DataMember = tablename (that belongs to DataSet)

and then I set ds.Tables[tablename].DefaultView.RowFilter = "new filter"
I don't see the changes while if I bind in this way the DataGrid

G.DataSource = DataView (dv)

and I set RowFilter property I see the new filter applied.
 
Back
Top