D
David Veeneman
I am building a form in code that I need to submit programmatically. How do
I do it in ASP.NET?
I am building a page that will create an HTML form on the server. The user
won't see the page; its sole purpose is to create and submit the form. I
store the form in a string:
string s = "<form target='somesite' action='https://www.somesite.com
method='post'>"
+ "<input type='hidden' name='item_name' value='MyWidget'>"
+ <input type='hidden' name='item_number' value='MW1'>"
...
+ "</form>";
Now I need a code statement to submit the form. How do I do that in C# or
VB? Thanks.
David Veeneman
Foresight Systems
I do it in ASP.NET?
I am building a page that will create an HTML form on the server. The user
won't see the page; its sole purpose is to create and submit the form. I
store the form in a string:
string s = "<form target='somesite' action='https://www.somesite.com
method='post'>"
+ "<input type='hidden' name='item_name' value='MyWidget'>"
+ <input type='hidden' name='item_number' value='MW1'>"
...
+ "</form>";
Now I need a code statement to submit the form. How do I do that in C# or
VB? Thanks.
David Veeneman
Foresight Systems