Submitting to another website

I know that whenever a submit button on an ASP.NET page is clicked it immediately loads that paage with the results. However, I would like to submit my form to another website. Does anyone know how to do this?

Please help, many thanks. ITA

ps - answers preferable in C#.

Comments

  • [b][red]This message was edited by iwilld0it at 2003-12-10 17:56:35[/red][/b][hr]
    [b][red]This message was edited by iwilld0it at 2003-12-10 17:51:24[/red][/b][hr]
    [b][red]This message was edited by iwilld0it at 2003-12-10 17:50:55[/red][/b][hr]
    : I know that whenever a submit button on an ASP.NET page is clicked it immediately loads that paage with the results. However, I would like to submit my form to another website. Does anyone know how to do this?
    :
    : Please help, many thanks. ITA
    :
    : ps - answers preferable in C#.
    :


    You will have to forget about using a server-side form tag and do it classic asp style ...

    [code]




    [/code]

    Then you will have to access form values the old way using the Request object ....

    otherpage.aspx

    [code]
    if(!Request.Form["submit"] == null){
    String name = Request.Form["name"];
    }
    [/code]

    Forgive me if my c# is incorrect because im a VB guy, but u get the picture





Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion