How can I programmatically login a site and parse the data?

G

Guest

Hi,

To save some daily routine work, I need to programmatically login a website
and parse and data at the page. C# is preferred but I am open to any language
:).

The site use a submit button to submit the username and password, then
direct to the site I need.
The html is like

<form name="Form1" method="post"
action="Login.aspx?reqpage=http://www.web.com/data.htm" id="Form1">
<input type="hidden" name="__VIEWSTATE"
value="dDwxODQwNDg1MjY4OztsPEF1dG9Mb2dpbjs+Pg==" />

I cannot find anywhere in MSFT doc showing how to do it, neither from the
google. Your help is highly appreciated.

Thanks a lot

Chrisben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top