T
tscamurra
Hello,
I have a web app that performs screen scaping and submits a form. My
code worked until the page was changed to use .aspx code. I am
updating my code to conform to the new pages but am having difficulty
submitting the page.
I use the WebCLient Class and create a collection of form values,
however there is not 'submit' button. There is an anchor tag that has
an href that calls the familiar __DoPostBack function.
I am hoping someone knows how to submit the page? Can I call the
Javascript, or invoke the href or is this so simple I am missing
something. The page I am scraping is a login page. So I am
programmatically setting a known user and password.
Any help would be greatly appreciated.
Thank you,
Tony
I have a web app that performs screen scaping and submits a form. My
code worked until the page was changed to use .aspx code. I am
updating my code to conform to the new pages but am having difficulty
submitting the page.
I use the WebCLient Class and create a collection of form values,
however there is not 'submit' button. There is an anchor tag that has
an href that calls the familiar __DoPostBack function.
I am hoping someone knows how to submit the page? Can I call the
Javascript, or invoke the href or is this so simple I am missing
something. The page I am scraping is a login page. So I am
programmatically setting a known user and password.
Any help would be greatly appreciated.
Thank you,
Tony