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

Nov 17 2004 9:02 AM
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)