3
Reply

parameters

Elias Olney

Elias Olney

Mar 21 2008 8:18 PM
3.1k

I have a form that a user can fill out which is subsequently written to an sql database upon submit... however, the form is spread across 5 seperate webpages... and I am currently passing the parameters in the url and then using the Request method on each page to read them into strings and send them on as the user clicks through the 5 pages to complete the form...when they get to the 5 th page all the parameters are then submitted to the table.... I'm a novice programmer, and this method I am using seems a bit drawn out... any suggestions or is this the best route?

Also... If one writes data to an SQL database from a c# web form, what code could I use to grab the ID of that row given that was just written given that i have customerID as an identity?


Answers (3)