如何配置gridcontrol接受阿拉伯字母? [英] How to configure a gridcontrol to accept arabic letter ?

查看:62
本文介绍了如何配置gridcontrol接受阿拉伯字母?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用sql server express数据库创建了一个vs 2012应用程序。当我用阿拉伯字母插入数据时,就像这样???????????在gridcontrol上,我怎么能解决这个问题?

I created a vs 2012 application using sql server express database. when I insert data with arabic letters is affiche like this "???????????" on the gridcontrol, how i can solve this problem ?

推荐答案

你好穆罕默德,



-确定您使用nvarchar数据类型而不是varchar

-Make确保在aspx页头中使用编码UTF-8。
hello mohammed ,

-Make sure that u use nvarchar data type instead of varchar
-Make Sure to use encoding UTF-8 in the aspx page head .


右键单击您的数据库 - > ;属性 - >选项

然后将整理更改为Arabic_100_bin
right click in ur database -> Propertise -> Options
then change the Collation to Arabic_100_bin


这篇关于如何配置gridcontrol接受阿拉伯字母?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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