1

heloo,

i have a html form which is posting data to a link like

 <body onload="javascript:document.E_FORM.submit();">
    <form  action= method="POST" name="E_FORM">
    <input type="hidden" name="a" value="1" size="100"><br />
    <input type="hidden" name="b" value="2"><br />
    <input type="hidden" name="c" value="3"><br /> 
</form>

i want to submit this form using code behind using string builder to create form and then submit using WebClient.

Sohail Hameed
  • 978
  • 2
  • 9
  • 25
  • Do you want to submit the form or post values using WebClient? You can refer this [question](http://stackoverflow.com/questions/5401501/how-to-post-data-to-specific-url-using-webclient-in-c-sharp) – शेखर Dec 28 '15 at 11:54
  • i want to post values, on posting value to action url its redirect to another link i do not need response in my function. just post and that page redirect to another link – Sohail Hameed Dec 28 '15 at 12:46

0 Answers0