将HTML转换为asp.net中的文本 [英] converting html to text in asp.net

查看:157
本文介绍了将HTML转换为asp.net中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将文本转换为html并将html格式插入到sql表中,这意味着我想在asp.net 2005中的multiview txtbox中将sql表中的html内容检索为文本格式.方案

要使用.NET代码将文本转换为html,可以使用一些免费软件(如nirsoft)API.

要将HTML内容存储在sql中,可以使用varchar数据类型存储它.

要重新转换为文本,请再次使用API​​.


i want to convert text into html and insert html format into sql table and mean while i want to retrieve html content in sql table into text format in multiview txtbox in asp.net 2005.

解决方案

To convert text into html using .NET code, you can use few freeware (like nirsoft) API.

To store HTML content in sql, you can store it using varchar data type.

To reconvert into text, again use API.


这篇关于将HTML转换为asp.net中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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