On 11/10/2005 17:32, Ice Shock wrote:
This is the response using sr.ReadToEnd()
<snip most of yahoo front page>

it looks fine
But here is the response when using the loop using the condition
while(nBytes > 0);

<snip most of yahoo front page>

Of course, you need to change the line:
    sb.Append(data);
to:
    sb.Append(data, 0, nBytes);

> I cannot figure out the extra part at the end that I don't know where it
> comes from :S I
> P.S: used yahoo instead of msn in the code

Didn't spot the double bug count in those lines.

Barnaby

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to