I have a form conatining 7 fields and i want that when i press submit button all the fields are cleared how can i do this? In my form when i click submit fields not clear until i refresh
An easier method would be to do as following
protected void Save(object sender, EventArgs e) { // code to save data //Then redirect to same page Response.Redirect(Request.Url.AbsoluteUri); }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.