Using Webrequest and response to post data
I want to simulate the submission of an asp application from my asp.net application. The url for asp application takes username and password as parameters and when it is submitted, the results are posted to another asp page.
Eg if i click submit button of page1.asp, the results are posted in page2.asp and i want to scrape the html of page2.asp and accordingly display the results in my asp.net application.
I am able to get the response html of page1.asp using webrequest and response. But it does not do the auto-submit of page1.asp
Can anyone give me some ideas on how to do this.