How to 'Post' from ASP.net to an external site using .asp
Posted on 2007-11-20
I have a shopping cart page in ASP.net / VB.net that uses a datagrid. The datagrid is filled with a list of products containing item, quantity and price.
I have a legacy application that needs to receive a "Submit" from the .aspx page. It uses "request.form" to extract multiple variables.
In addition to receiving the ones from the datagrid, I need to receive some hidden values.
There are three parts:
1) How do you get a Submit button to call an external web site.
2) How do you add HTML dynamically to define the hidden values
3) How do you post the data from the datagrid (I may be able to use #2 to solve this).
Thanks in advance.