DotNetNewbie
Programmer
He everyone,
I have a free textbox that allows a user to enter comments. However the user can enter apostrophe's if needed, along with anything else really.
However when I come to add it to the DB it errors because of the SQLString I have composed.
Can someone give me an idea on how to solve this. Ideally the user should be able to enter apostrophe's when needed.
Thanks in advance
I have a free textbox that allows a user to enter comments. However the user can enter apostrophe's if needed, along with anything else really.
However when I come to add it to the DB it errors because of the SQLString I have composed.
Can someone give me an idea on how to solve this. Ideally the user should be able to enter apostrophe's when needed.
Thanks in advance