关于插入说明 [英] Regarding insert Description

查看:132
本文介绍了关于插入说明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个说明字段,其中包含大量文本,包括特殊字符,如!,@,#,..,"

单引号出现时,不会插入.

我尝试了repalce().
我正在使用C#

您能告诉我解决方案吗?

Hi to all,

I''m have a Description field in which is having bulk of text including special characters like !,@,#,.. ",''

When the single quote comes, it not inserted.

I try the repalce().
I''m using C#

Can you tell me the solutions

推荐答案

这就是每个人都建议使用参数的原因(假设您没有这样做).

请参见此处 [
Thats the reason why everyone suggest to use parameter (assuming you are not doing so).

See Here [^] or google and try yourself


这篇关于关于插入说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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