Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
sir,
I enter username in text box. when i click submit button if username does not in database i set error message. but the text box value does not clear.how can clear it.
Posted

Hi,
after the message box displayed...

C#
textboxname.text="";
 
Share this answer
 
v2
use
C#
textboxname.text="";

after message box.
 
Share this answer
 
v2
Could you please provide your code snippet for analysis?
 
Share this answer
 
Comments
[no name] 22-Jan-12 9:45am    
Hello
My name is miss Jelin, i am looking for a new friend i saw your profile today and became interested in you,i
will also like to know you the more,and i want you to send a mail to my email
address so i can give you my picture for you to know whom l am.Here is my email

address (jelinbaby39@yahoo.co.uk)

I believe we can move from here.I am waiting for
your mail to my email address (jelinbaby39@yahoo.co.uk) Remember the distance, color or age
does not matter but love matters allot in life Please reply me with my email

Jelin
..........................................................
Hello
My name is miss Jelin, i am looking for a new friend i saw your profile today and became interested in you,i
will also like to know you the more,and i want you to send a mail to my email
address so i can give you my picture for you to know whom l am.Here is my email

address (jelinbaby39@yahoo.co.uk)

I believe we can move from here.I am waiting for
your mail to my email address (jelinbaby39@yahoo.co.uk) Remember the distance, color or age
does not matter but love matters allot in life Please reply me with my email

Jelin
Uday P.Singh 24-Jan-12 5:58am    
you could have posted your query as a comment to the question not as a solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900