A
A
AcidBat2015-08-24 05:40:12
SQL Server
AcidBat, 2015-08-24 05:40:12

How to make mdf database work with unicode?

Please no trolling. I shoveled a bunch of tutors and all in vain.
In general, the essence is this: there is a database (mdf) of MS SQL Server attached to an ASP.NET site (without MVC).
There is a connection to the database, the data on the page is displayed adequately. The problem is that the database does not accept Cyrillic, no matter how hard you try. Latin please. But I would still like to be able to store Russian text in it.
Moreover, it does not matter how I drive the text into the database - by hand or through an SQL query, the result is the same. I even tried to use prefixes. Nothing helps.
PS Versions of SQL Server and Visual Studio are up-to-date.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2015-08-24
@AcidBat

nchar and nvarchar not suitable?
https://msdn.microsoft.com/en-us/library/ms186939(...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question