Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here My Requirement is simple Page has 4 Textboxes and one Button one Lable.
When i enter Data in textboxes and Press Button all data will be stored in Database and Dilplay in Gridview and along with Lable also display "Data Inserted"..
Here My problem is after displaying Gridview..whn i enter new data in textboxes this gridview and Lable msg will be appear..i want to dissapear when i enter second time enter data in Textboxes...
I hope u understand
Posted
Comments
Thanks7872 1-Jan-15 2:39am    
Not clear. You entered data -> Pressed button -> Data inserted and message displayed in Label. Now,you want to clear all the textboxes,that is what you want?
benzimen 1-Jan-15 2:56am    
Exactly ...not only textboxes and label including Gridview also

1 solution

Okay, so on the TextBox change event, just hide the GridView. You can do this easily in JavaScript or jQuery.
 
Share this answer
 
Comments
[no name] 2-Jan-15 1:41am    
+5
Thanks bro. :)

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