Software Development Network>> .NET Development>> Filter-expression
"place =" &
Replace the single apostrophe in the value with two apostrophes (not a single double-quote character):
"place = 'La Tour d''Auvergne'"
This is the same syntax that most databases use in queries.
I hope this information proves helpful.
David Sceppa
ADO.NET Program Manager
Microsoft
Filter-expression
JochenS
that was helpful.
KBeBo
myDataTable.Select("place =" & Criteria);
njohe
"place =" &
ControlChars.Quote & "La Tour d'Auvergne" & ControlChars.QuoteI would use the quotes vs the apostrophe just to make sure!!!
Pavel S. Kozlov
Replace the single apostrophe in the value with two apostrophes (not a single double-quote character):
"place = 'La Tour d''Auvergne'"
This is the same syntax that most databases use in queries.
I hope this information proves helpful.
David Sceppa
ADO.NET Program Manager
Microsoft