I am trying to submit a form into a database which is filled out by my users.
Firstly I had a detailview. I have connected the page to a database using a sql query. I then made some text boxes and drop down menus and linked this to the insert parameters.
When I tried the form it all worked and the data was submitted into the database.
However, I wanted to try and use a single submit button at the end of the form, instead of using the detailview submit.
I thought this would be fairly easy, so I deleted the detailview and put a button on the page which I called submit.
I have then looked on the internet, to find out how to connect the submit part of the button to the inserting of the data into the database.
Could someone point me in the right direction of how this is done, or is it harder than I have originally thought.