nLL
nLL

Reputation: 5672

.net non ascii username passwords

in my web site (c# & sql server) i am trying to enable non ascii username and passwords, (username and password columns are set to NvarChar )

what would be the best aproach to achive this?

Upvotes: 0

Views: 139

Answers (1)

John Saunders
John Saunders

Reputation: 161773

I guess you must not have tried this yet.

.NET strings are Unicode. There should be nothing special you have to do.


Try

select * from site_users where un=N'محبوب' and pw=N'محبوب'

Upvotes: 1

Related Questions