在Sql Server数据库中保存印地语,Marthi内容 [英] Save Hindi,Marthi Content in Sql Server database
本文介绍了在Sql Server数据库中保存印地语,Marthi内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
其实我在sql server数据库中保存了内容,但内容保存如????格式
&当我回复那个内容它显示相同???。Actullay我希望印地语内容在标签文本中显示。
给出任何建议。
解决方案
< blockquote>如果这是字符数据,您是否使用过例如 nvarchar [ ^ ]和正确的排序规则:http://msdn.microsoft.com/en-us/library/ms144250.aspx [ ^ ]
在参数前使用N ie
插入测试(TextName)值(N'@ TextName')
和字段数据类型应该是nvarchar(max)
您好,
您必须将列的数据类型更改为nvarchar或ntext
创建表Test_Lang
(strText nvarchar(max))
插入Test_Lang值(N 'हिन्दी')
谢谢
Vinod
Actually I save content in sql server database but content save like ???? format
& when I retrive That content It Show Same ???.Actullay I want Hindi Content To Show In label Text .
Give Any Suggestion.
解决方案
If this is character data, have you used for example nvarchar[^] and correct collations: http://msdn.microsoft.com/en-us/library/ms144250.aspx[^]
Use N before parameter i.e.
Insert into test(TextName) values(N'@TextName')
and field datatype should be nvarchar(max)
Hi,
You have to change the datatype of the column to nvarchar or ntext
Create table Test_Lang (strText nvarchar(max)) insert into Test_Lang values ( N 'हिन्दी')
Thanks
Vinod
这篇关于在Sql Server数据库中保存印地语,Marthi内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文