kibbs
asked on
Creating Simple Registration and Confirmation Page ASP.NET 2.0
What is the easiest way to create a small and simple user registration page that defaults to the user inputs and then generates a conformation page once submitted to a SQL Server database? Do I use grid view? Forms view? I'm using visual studio 2008 and i can create a gridview which lets me do a bunch of things like Insert, Edt.. etc.. BUT I JUST WANT A SIMPLE REGISTRATION PAGE (NOT LOGIN)
Eventually I will look at the data and write reports on it..
PLease help thanks.
Eventually I will look at the data and write reports on it..
PLease help thanks.
Design your page1.aspx with .net controls like asp:textbox.. etc, use validation controls for any validation you want. Put a submit button at the end of form. On Submit button's click event, use the user's input values from textboxes etc.. and insert in the database, if successfully inserted, response.redirect to confirmation.aspx page.
ASKER
On Submit button's click event, use the user's input values from textboxes etc.. and insert in the database, if successfully inserted, response.redirect to confirmation.aspx page.
Thank you for your response, th portion above is the part I am having trouble with, how to change the submit buttons click event and use the users input values to show on a response redirect confirmation.aspx page?
This should be very simple, but yet i cant figure it out in Visual Studio 2008. Thanks
Thank you for your response, th portion above is the part I am having trouble with, how to change the submit buttons click event and use the users input values to show on a response redirect confirmation.aspx page?
This should be very simple, but yet i cant figure it out in Visual Studio 2008. Thanks
in addition to below, there are many sources on the ineternet available ready-made:
https://www.experts-exchange.com/questions/23191531/Insert-a-textbox-record-into-database-using-asp-web-form.html
https://www.experts-exchange.com/questions/23191531/Insert-a-textbox-record-into-database-using-asp-web-form.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Were you able to work it out, kibbs?