1
Answer

How to use single quot mark ' in DataView Filter expression?

I try to use string constant with ' inside to set filter expression: string myString="a'b"; myDataView.RowFilter="myField='"+myString+"'"; Of course it doesn't work because of single quotation mark inside string. How to deal with such strings? Thx in adv
Answers (1)