How I can get the content of the web page using ASP.NET? I need to write a program to get the HTML of a webpage and store it into a string variable.
You can use the WebClient
Using System.Net; WebClient client = new WebClient(); string downloadString = client.DownloadString("http://www.gooogle.com");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With