Hi there,

I have a prob. I am trying to build a form in Html and when submitted it should go to other URl and to Asp.net file.

Can anyone help me with this.

In ASP.net i am using the following code

protected void Page_Load(object sender, EventArgs e)
        Name.Value = Request.Form("Name");
        Email.Value = Request.Form("Email");
        ContactNo.Value = Request.Form("ContactNo");
        City.Value = Request.Form("City");
        Branch.Value = Request.Form("Branch");
        nName.Text = Name.Value;
        nEmail.Text = Email.Value;
        nContactNo.Text = ContactNo.Value;
        nCity.Text = City.Value;
        nBranch.Text = Branch.Value;

But I am getting error.

Can anyone help me with this. I have also attached the Html file and Asp.net files.


Name.Value = Request.Form["Name"];
        Email.Value = Request.Form["Email"];
        ContactNo.Value = Request.Form["ContactNo"];
        City.Value = Request.Form["City"];
        Branch.Value = Request.Form["Branch"];


Name.Value = Request["Name"];
        Email.Value = Request["Email"];
        ContactNo.Value = Request["ContactNo"];
        City.Value = Request["City"];
        Branch.Value = Request["Branch"];