Im trying to close this ad banner from webpage.. please Help..

<div id="hiddenBannerCanvas"></div>
    <div id="bannerInCenter">

        <a href="http://record.bettingpartners.com/_8tAZwUrL2Ja3jsFw_KD1gyyZw0gXuLb7/0/" target="_new"><img src="http://media.bettingpartners.com/GIF/Bovada/Sports/F1/300x250.gif" /></a>
        <span id="bannerClose" class="closebet">->-X-<-</span>

    </div>  

This sounds like an add on question to https://www.daniweb.com/programming/software-development/threads/505894/how-to-scrape-a-table-off-a-website-and-put-results-in-datagridview

Most web pages don't have a close or X on the ad banner. So there would be no closing of that banner.

However since you have the HTML scraped from the site you would add a filter in code to ignore what you don't want to process.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.