DataView.RowFilter question

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

For my webapp I'm building a search page where the user can search through
data stored in a xml file.
I thought I use the dataview Rowfilter property but it seems it only works
if the search text is exactly the same as the description text in the
datatable.

How, if possible, can I use RowFilter in a way that it will also select
those rows where the description contains the search text?

i.e.: description text = "This is a test"
Search text = "es"

This line would be shown because the search text is in the description text.

I tried with the LIKE operator but that seems to be the same as the =
operator.

any suggestions?

rg,
Eric
 
Never mind...I knew it was simple it just didn't pop up....

I used "*es*" as the search text and it did it...

rg,
Eric
 
Never mind...I knew it would be simple...it just didn't pop up...

I used as the seach text: "*es*" and that did it...

rg,
Eric
 
Back
Top