2
Reply

In DataView how can use RowFilter.

Bagesh kumar singh

Bagesh kumar singh

Jan 18 2014 1:41 AM
1.2k

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)