Best way to pass data between forms?

Results 1 to 2 of 2

Thread: Best way to pass data between forms?

  1. #1
    Join Date
    Dec 1969

    Default Best way to pass data between forms?

    I&#039;m trying to create a form that has multiple stages, for example:<BR><BR>1) 1st Page - the user enters their name/address/age then clicks submit. The form verifies the data has been correctly entered, then sends them to the second page<BR><BR>2) 2nd page - the user enters their partners name/address etc then submits. Again data is verified and user sent to third page.<BR><BR>3) 3rd Page - User enters final request details, data is verified again and then the data from *all three pages* is submitted to the database via a stored procedure.<BR><BR>In old Asp I would have used hidden fields to pass the data between the three pages before finally submitting it all at the end. Can anyone suggest the best way to achieve this using Asp.Net? <BR><BR>Thanks for any help :)<BR><BR>james

  2. #2
    Join Date
    Dec 1969

    Default RE: Best way to pass data between forms?

    I would do it the same way...<BR><BR>Just use a duplicate of the original form, and set all the controls visible property to false.<BR><BR>HTH.<BR>D.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts