Friday, March 9, 2012

How to submit a form to an SQL database?

I have a registration form, and upon the user clicking the submit button, I want the information to be processed and sent to my SQL database. Each textbox (i.e. username, password, email address) has a corresponding field in a table in the database.

How can I accomplish this? I under stand that I will need an onclick event handler.Check out:
http://aspnet101.com/aspnet101/aspnet/codesample.aspx?code=showinsert

No comments:

Post a Comment