如何从sql数据库读取屏幕抓取的网站? [英] How do I read a screen scraped website from an sql database?
本文介绍了如何从sql数据库读取屏幕抓取的网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
因此,在我的Windows窗体中,我创建了一个文本框,用户可使用该文本框输入网站地址,然后单击一个按钮以将该网站剪贴到浏览器控件中.他们还可以将该屏幕抓取的网站保存到sql数据库.我现在想做的是将数据从sql数据库读取到Web浏览器控件上.
So in my windows form I''ve made a textbox which the user uses to enter the website address and then click a button to screen scrap that website into a browser control. They can also save that screen scraped website to an sql database. What I want to do now is read that data from the sql database onto the web browser control. How would I go about doing this?
推荐答案
您可以从Sql数据库中获取HTML数据,将其保存到临时文件中,并具有 ^ ]类加载临时文件.
You can get the HTML data from your Sql database, save it to a temp file and have WebBrowser[^] class load the temp file.
这篇关于如何从sql数据库读取屏幕抓取的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文