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
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Andrzej WegierskiRank #1,729 · 877 reputationPosted Nov 17, 2004, 4:33 AM EST