Click to See Complete Forum and Search --> : Grab value for a web site and add it to mine


spawn6991
03-13-2009, 12:22 PM
Hi Folks,

This is my 1st posting here. And let me first say that I'm a newb when it comes to coding. I'm just reading like crazy trying to figure this stuff out but i'm stucked.

I have an aspx page and an html and i want to take a value (number) from a web page with extension .do (like http://webmail.sendmail.do) and add it to mine. So i'm seeing the source code of target page helped by firefox and the code is as below:

<td class="l-text" align="center" bgcolor="#ffffff">
<p>

<!--Today:-->
Today:
<font color="#003366">
1

</font>/120
<!--<br>-->
<!--Monthly:-->
<!-- Monthly
<font color="#003366">

</font>/-->

The layout of this page is: Today 1/120

From this page i want to take this "1" and add it to my page. The number is a result of a counter that counts email per day and monthly. I read that an option is HttpWebRequest class but i can't figure out the code i should write. If you know an easier way plz suggest.

Thank you very much in advance...