In DataView how can use RowFilter.

Jan 18 2014 1:41 AM

Hello,

I am useing rowfilter its working properly

DataView dv = new DataView(ds.Tables[0]);

dv.RowFilter ="FileName LIKE '%"+txtSearch.Text+"%'";

i am filtering the value according to filename. butting getting error when i am using ' as search patter. for other its working fine.please give the solution.


Answers (2)