how to make a textbox to not to store blankspaces

May 9 2010 7:29 AM
hi, i have need of some requirement that in  my asp.net textbox ,i want to make it such that it shouldnot allow the blank spaces

if enter the text: computer organization in my text box
but when i store the textbox value in database it should be stored as

computerorganization

like above if any blnks r given in textbox those should be eliminated and the string should be stored without any blanks

please helpme on this

Answers (2)