store multiple id's from first aspx page to next aspx page

Posted by poller on Stack Overflow See other posts from Stack Overflow or by poller
Published on 2010-06-17T20:46:44Z Indexed on 2010/06/17 20:53 UTC
Read the original article Hit count: 530

Filed under:
|
|

i have my first aspx page that has data thatthe user fills in. it is in format of textbox's and at the end of it all the user clicks submit and all data goes in the database. In the database each record gets an ID field. Now when the users clicks submit and goes to the next page, i want the ID's (they could be 1 to 1000+) from the DB that he just inserted and have them available on the second page. how can i take all the id's from page 1 to page 2? can i do it in session? or something else. Please put some sample code so i can understand better.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about session