I have a web form with a button which submits the entries of said form into a database via ADO.NET. The first thing the command does is disables the button however because the database sometimes is slow it takes a few seconds for the form to actually post back thus giving the user the ability to submit the form multiple times by quickly pressing the submit button. Is it possible to have a button do some code, do a post back, then do another block of code? Are there better ways to accomplish what I'm looking for? I am using Visual Studio 2005 Pro as my IDE. I have AJAX and the tool kit installed and am using both.
New Orleans Hornets Season Ticket Holder!