I have a textbox (txtbox1) which has some value in it. I want to empty the value of textbox. Is that possible in code behind? If yes, how?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well:
should do it.
(Note that I generally prefer
""tostring.Emptyin terms of readability. Use whichever you prefer. Ignore any talk about the performance differences between them – most articles I’ve seen on this are out of date, and any performance difference there might be will be entirely insignificant.)