How to execute server code in VB.NET on a button click and then call up another page
Posted on 2011-02-20
I do realize that this is a dumb question, but I am new to ASP.NET, so this should be really easy.
I have an aspx page with a form on it that the user fills out. When they click my Submit button, which is a button called buttonSubmit, but I don't think it is THE submit button. Anyway, this submit button has VB code behind it that saves the data from the form to a database, sends out a confirmation email to the user and another email to us that one was added, and then I simply want it to bring up a different page, a ThankYou page. I just don't have any idea how to tell the server to send back a different page than the one that processed the button.