ASP.NET Request.Form

  • Started
  • Last post
  • 1 Response
  • angelus35

    Okay, having some issues collecting data back from a form. I understand now that ASP.NET posts forms back onto themselves so I don't need to pass the data to another page with a form action. So how the hell do I call upon the data now? An example of this would be very useful. Thanks for anyone that helps.

  • thirtytwo0

    You can pass data from a form to the same page. Just use an if statement to direct which function you want to execute in that page.

    For example.
    form
    value1 = 1
    value2 = 2
    value=submit name =submit

    if Request.Form("name") = "submit" then

    interest into table value these....

    else
    show form
    end if

    If you need more help email me, and I will write you a sample page...

    cheers