开发者

WEBBrowser Control; Is it possible to save the Webbrowser Content to a SQL DB?

开发者_如何学JAVACan the content of a webbrowser control in C# winforms be serialized for saving to a sql server db for retrieval and display? Would that be the route for saving and retrieving html content to and from a db?


Use the property WebBrowser.DocumentElement.innerhtml to get and set the webrowsers html. You could also save the html to a .htm file instead of the database and use the webrowser.navigate2 method. sometimes storing blobs in a database is a bad idea (performance).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜