i want textbox particularly not accept apostroph(name's)
example:
how to validate textbox me typed fruit's particularly ' not saved databse.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
spots KnightPosted Sep 16, 2014, 1:06 PM
String savefield = textbox.Text.Replace("'","`");
or
String savefield = textbox.Text.Replace("'","");
Ramesh MaruthiPosted Sep 16, 2014, 10:45 AM
*Valid characters: Alphabets and
space.