Hi
I am to check a validation of all text box.last one they can to store a database.but every time to store a database so empty space also to store a database..any one help me
This is my coding
Thank you
Loading
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.
Pradip PandeyPosted Sep 28, 2012, 7:29 AM
As I understand, you must use Trim() with TextBox control where you are passing the value in the parameter i.e
string strFirstName = TextBoxFirstName.Text.Trim();
Hope it will help.
Dorababu MekaPosted Sep 28, 2012, 7:09 AM
If not do as follows