473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

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
Jun 6 '06 #1
1 2451
You can start with googling "Screen Scrape"

...
"chrisben" <ch******@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
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

Jun 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jim Richards | last post by:
Hello all. I created the "student2" user account and set the password to "student2". I then went to Enterprise Manager and in the class_mgr database and in its customers table, I gave this...
0
by: Admin at Eruditionhome | last post by:
Friends, We have created a good web site for various resources related to the process of knowledge discovery in data. The site is in its early stages right now, however we expect it to mature...
0
by: aa | last post by:
how to change provider for all site management data in ASP2.0 I see just one aspnetsql provider, but i cant add new
12
by: amfr | last post by:
I am writing a webserver, and I want it to be able to run python scripts. But when I set sys.stdin to self.rfile (using the BaseHTTPServer class, self.rfile is a input stream containing the...
2
by: Dan Sikorsky | last post by:
I want to bypass requiring the intranet domain user to type in a username and password when coming to my website, even the very first time. If it's the first time I do a Membership.CreatUser...
0
by: MatchSQL | last post by:
http://www.MatchSQL.com Match your Design site's data schema and SQL statement to Application site between MSSQL 2000 , SQLServer 2005 , SQL Server 2005 EXPRESS
5
by: jonathan184 | last post by:
how to parse data to an html page from XML file checking a DTD file I have a XML file and a DTD file. How could i parse this using either php or perl or another language you recommend.
1
by: oladele | last post by:
Hello All, I want to be able to edit a cell data in a gridview when I double click it. I also want to be able to invoke update on the cell i edit when i click away from the cell.can this be...
9
by: MimiMi | last post by:
Hello I'm still kinda new at C and I have this buffer filled with data that I want to to 'parse' into a an array of structs. How do I do this? The only thing I can think of is for-loops, kinda...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.