In the click event, I have one in the database, and one of the The strange issue is that if I click on the button 3 times, then I will get 3 new records in the database. That's strange, because NB: The button is completing the postback because I have to upload the file to the server I have a I tried Here is my code: This button has been clicked fast and insert slower Basically, you are submitting several requests before you have a chance to come back in redirection. The simple solution is to block the button on the client side using Javascript. You can show some sort of processing notification, it is usually seen with submitting a shopping cart and choice. Response.Redirect records Preview.
response with a false-true option. Tried to redirex
server.Transfer
Secure void B_Save_Click (Object Sender, EventAgages e) {Insert_Account (); Response.Redirect ("index.aspx"); }
No comments:
Post a Comment