&安培; QUOT;而不是引用的签名(QUOT;) [英] " instead sign of quote (")

查看:135
本文介绍了&安培; QUOT;而不是引用的签名(QUOT;)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经writteln asp.net网站谟在C#。

I have writteln asp.net web projet in C#.

问题是保存在一个数据库报价的迹象,并在页面再次显示这一点。

The problem is in saving sign of quote " in a database and displaying this again in a page.

例如有一个文本框,然后我输入以下内容:

For example there is a textbox and I type following:

"abcd"

和它保存在数据库中。

然而,当我再次阅读,并在页面中显示它,我看到:

However, when I read this again and display it in a page I see:

"abcd"

那么,这里是一个问题吗?是否有人知道该如何解决?

So what is a problem here?Does someone know the solution?

我使用的字符集是UTF8和colattion是utf8generalci

the charset I use is utf8 and colattion is utf8generalci

推荐答案

尝试使用HTML德code和EN code

Try use HTML decode and encode

HttpUtility.HtmlDe code

HttpUtility.HtmlDecode

http://msdn.microsoft .COM / EN-US /库/ aa332854%28V = vs.71%29.aspx

这篇关于&安培; QUOT;而不是引用的签名(QUOT;)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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