Problem with save cyrillics data to sqlexpress database

和自甴很熟 提交于 2020-02-06 06:34:05

问题


I am using .net entity framework, asp.net mvc, sqlexpress and have one problem:

when save data to sqlexpress database table (something like this само да пробам) on that table I have this ???? ?? ??????. On column where insert cyrillics data I set collation:Serbian_Cyrillic_100_CI_AI.


回答1:


The datatype of the column should be nvarchar (which is Unicode).



来源:https://stackoverflow.com/questions/5602049/problem-with-save-cyrillics-data-to-sqlexpress-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!