Click here to Skip to main content
15,860,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 ?
Posted

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 .
 
Share this answer
 
Comments
Mohammed-cd7 1-Jul-15 9:02am    
how i can use the encoding UTF-8 in my winform application ?
right click in ur database -> Propertise -> Options
then change the Collation to Arabic_100_bin
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900