ADO.Net expression - single quotes in strings

G

Guest

Hi,

I need to apply a filter on my DataTable to search for name like O'Brian.
And I cannot work out the syntax.

If that was a simple select I could use '' (two single quotes), but I need
to assign the RowFilter property to an appropriate value.

Any help is greatly appreciated
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top