Author: yourtushki | Posted on: 5/9/2009 10:53:15 AM | Views : 204

hi there,
   WebClient MyWebClient = new WebClient();

        // Read web page HTML to byte array
        Byte[] PageHTMLBytes;
        if (TextBox1.Text != "")
        {
            PageHTMLBytes = MyWebClient.DownloadData(TextBox1.Text);

            // Convert result from byte array to string
            // and display it in TextBox txtPageHTML
            UTF8Encoding oUTF8 = new UTF8Encoding();
            TextBox2.Text = oUTF8.GetString(PageHTMLBytes);
 
From this code i ...

Go to the complete details ...