如何将html包含保存到数据库中. [英] How to save html contain into database.

查看:58
本文介绍了如何将html包含保存到数据库中.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,先生
我想如何将html全部包含保存到sql服务器中.

Hello sir
i want to how to save html whole contain into sql sever.

推荐答案

您需要使用webbrowser制作一个Window应用程序,以通过url加载网页,
然后编写一个vb.net代码,该代码能够通过document.getElemntbyId(''< body id>'')提取所有数据,现在您应该以文本/字符串形式存储并将其存储到数据库(sql server或其他数据库)
You need to make a Window application using webbrowser to loading webpage by url,
then write a vb.net code which able to extract all data via document.getElemntbyId(''<body id>''), Now you should store in text/string and stored it a database(sql server or other one)


这篇关于如何将html包含保存到数据库中.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆