Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a gridview in windows application.

i have put filters like getting columns from the table basing on id and date.

i need to clear the value entered in the textbox after pressing the show button.



1. Eid: eidToolStriptextBox Show (Button)
2. Date: DateToolStripTextBox Show (Button)
Posted
Updated 18-Feb-13 22:19pm
v2
Comments
Hend Riad 19-Feb-13 4:17am    
did you try the method txtName.Clear(); on the event of the Show Button ?
Sergey Alexandrovich Kryukov 14-Mar-13 0:44am    
Please stop posting non-answers as "solution". It can give you abuse reports which eventually may lead to cancellation of your CodeProject membership.
Comment on any posts, reply to available comments, or use "Improve question" (above).
Also, keep in mind that members only get notifications on the post sent in reply to there posts.
—SA

1 solution

Textbox.Clear() will clear the value from the text box
 
Share this answer
 

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