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
Validation problem
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Dorababu MekaRank #457 · 5.5K reputationPosted Sep 28, 2012, 3:09 AM EDT
If not do as follows
Pradip PandeyRank #452 · 5.6K reputationPosted Sep 28, 2012, 3:29 AM EDT
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.