Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes.

I created a very simple Screen Scrape Button Control which you can use to export the html of a particular page to a text file. I have also made a property Expression which you can use to set any regular expression and hence narrow your exportation task.

This control will be available for free. Please check back the website www.gridviewguy.com in couple of days where you will find the link to download the control.

Here is a the part of the code to dynamically load the control:

ScreenScrapButton sButton = new ScreenScrapButton(); 
            sButton.FileName = "MyScrappedFile"; 
            
// some regular expression 
            
sButton.Expression = @"<img"; 
            sButton.Url = "http://www.gridviewguy.com"; 
            Panel1.Controls.Add(sButton); 
            Panel1.DataBind(); 

Thanks,

AzamSharp :)

powered by IMHO

 

Posted on Tuesday, December 6, 2005 8:24 PM | Back to top


Comments on this post: Screen Scrape Button Control

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net