WEBBrowser Control; Is it possible to save Webbrowser content in SQL DB?

Is it possible to serialize the contents of a web browser control in winforms C # to save db to SQL server for extraction and display? Will this be the route to save and retrieve html content in and out of db?

+3
source share
1 answer

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

+1
source

Source: https://habr.com/ru/post/1720185/


All Articles