What is the syntax for setting RowFilter in a DataView on a multi-table DataSet?

  • Thread starter Thread starter tgif
  • Start date Start date
T

tgif

I'm trying to set a filter on a table in a DataView to a multi-table DataSet
and am guessing it is something like this:

dvMyView.RowFilter = "['AgencyTable']AgencyID = " txtAgencyID.Text;

Can someone help me with the exact format for something like this?
 
DataView dv = new DataView(ds.Tables["Custome"]);
dv.RowFilter = "Customname = 'blar'";

Hop this help
 
Back
Top