Is it possible to screen scrape and display only one div/ Table
<p>Is it possible to webscrape using HTTPWebRequest or webclient and display only a specfic div or table like the example below?</p>

<p>This is one div from a page of other divs, just to give you a structure example.</p>

<pre><code>     &lt;div id="DIV5"&gt;

            &lt;table cellspacing="0" cellpadding="0"&gt;&lt;tbody&gt;

                &lt;tr class=""&gt;

                &lt;tr class="last"&gt;

            &lt;/table&gt;

&lt;/div&gt;
</code></pre>

<p>I have this simple code which displays the HTML from the page, but I am looking for a way to display only one DIV or One table.</p>

<pre><code>namespace SimpleScreenScrape
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string html = this.GetWebsiteHtml(this.textBox1.Text);
            this.richTextBox1.Text = html;
        }

        private string GetWebsiteHtml(string url)
        {
            WebRequest request = WebRequest.Create(url);
            WebResponse response = request.GetResponse();
            Stream stream = response.GetResponseStream();
            StreamReader reader = new StreamReader(stream);
            string result = reader.ReadToEnd();
            stream.Dispose();
            reader.Dispose();
            return result;
        }




    }
}
</code></pre>
