G
Guest
Hello all.
I'm trying to filter a dataset using the below snippet, however, it's
returning 2 rows and it should only return 1. Can anyone please hel?p
DataView dv = new Customer().GetCustomerFiles(4).Tables[0].DefaultView;
dv.RowFilter = "FileType = 'Company Info'";
int b = dv.Table.Rows.Count;
string a = dv.Table.Rows[0]["Title"].ToString();
Thanks all,
Jon
I'm trying to filter a dataset using the below snippet, however, it's
returning 2 rows and it should only return 1. Can anyone please hel?p
DataView dv = new Customer().GetCustomerFiles(4).Tables[0].DefaultView;
dv.RowFilter = "FileType = 'Company Info'";
int b = dv.Table.Rows.Count;
string a = dv.Table.Rows[0]["Title"].ToString();
Thanks all,
Jon