Can I use TextReader to read an HTML file from a site, e.x.: http://www.moe.alrazem.com/default.htm and save the html code as a string in a variable??? Using C#??
How can this be done?
How to strip HTML code?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
bigfoot_716 pointsPosted Feb 14, 2007, 1:22 AM EST
string page;
System.IO.StreamReader srd;
srd = new System.IO.StreamReader(myWebClient.OpenRead(@"htt://www.vbdotnetheaven.com"));
page = srd.ReadToEnd();
regards