DataRow[] and Select(filter with a like clause) question

  • Thread starter Thread starter Ron Vecchi
  • Start date Start date
R

Ron Vecchi

I am using the Select method on a DataTable to return a DataRow[]
filter = (width LIKE '%width="[1-9][0-9]%')

I am getting an exception saying my filter is invalid
I narrowed it down to the part that reads [1-9][0-9]

if I eliminate this part it works.
Is there a way to accomplish what I'm tring to do?


Thanks,

Ron Vecchi
 
Heres my filter again, I gave you the Sql version without the escaped ".
Just to clarify

filter = width LIKE '%width=\"[1-9][0-9]%'
 
Back
Top