G
Guest
Hi,
My DataView does not work, it return all the record in the dataset.
here is my code:
string rowFilterDept = "DEPT_NAME = '" + strDept + "'";
DataView dvDept = new DataView( dtDept, rowFilterDept, "DEPT_NAME",
DataViewRowState.CurrentRows );
I check the data in dataset is fine, strDept is the right value without
special character.
What could be wrong?
Thank you for you help.
Wes
My DataView does not work, it return all the record in the dataset.
here is my code:
string rowFilterDept = "DEPT_NAME = '" + strDept + "'";
DataView dvDept = new DataView( dtDept, rowFilterDept, "DEPT_NAME",
DataViewRowState.CurrentRows );
I check the data in dataset is fine, strDept is the right value without
special character.
What could be wrong?
Thank you for you help.
Wes