So we have a web page that has a text box where the user can enter something like:
[tt]
Short Description: [highlight white]Judge's Orders[/highlight]
[/tt]
however when that gets input into the update query string:
[tt]strSQL = "Update TableName Set ShortDesc = '" + shortDesc + "'"[/tt]
it doesn't work. We've tried replacing it with an escape character, but that doesn't do what we need either. What we need is to be able to capture and enter apostrophe's in the database.
I'm sure someone has solved this, I just can't find the solution....any assistance?
Thanks!
Leslie
Have you met Hardy Heron?
[tt]
Short Description: [highlight white]Judge's Orders[/highlight]
[/tt]
however when that gets input into the update query string:
[tt]strSQL = "Update TableName Set ShortDesc = '" + shortDesc + "'"[/tt]
it doesn't work. We've tried replacing it with an escape character, but that doesn't do what we need either. What we need is to be able to capture and enter apostrophe's in the database.
I'm sure someone has solved this, I just can't find the solution....any assistance?
Thanks!
Leslie
Have you met Hardy Heron?