how to clear all the fill data in the form after the form submisson
hello friends
today i want to show you how to clear all the filed of any form
friend suppose you create a form registration and you some fields there these are releated to you form and you want to submit the data in server after the submitting the data you want to put new entry in registration form you have to write following code :
you have to write these code where you form data submit query fired in submit button click event
All the text box and all the component who have use to fill the data
you have write
componentname.clear()
method you have use clear()
EX:-
you want to clear the name father name, address and so many more field to taking another form input
you have write :
txtname.clear()
txtfathername.clear();
txtaddress.clear();
Thank you
today i want to show you how to clear all the filed of any form
friend suppose you create a form registration and you some fields there these are releated to you form and you want to submit the data in server after the submitting the data you want to put new entry in registration form you have to write following code :
you have to write these code where you form data submit query fired in submit button click event
All the text box and all the component who have use to fill the data
you have write
componentname.clear()
method you have use clear()
EX:-
you want to clear the name father name, address and so many more field to taking another form input
you have write :
txtname.clear()
txtfathername.clear();
txtaddress.clear();
Thank you
No comments: