Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I Want To Upload Unicode To Sql Server and Retrieve Uploaded Data
how to do this.. ?
Posted

See - UNICODE (Transact-SQL) [^]

Cheers,
Edo
 
Share this answer
 
Comments
[no name] 29-Jan-13 5:36am    
+5
Joezer BH 29-Jan-13 5:51am    
Tnx Sisir
[no name] 29-Jan-13 6:21am    
yw
You need to set the column as nvarchar

and before inserting the value to column use N'

eg

SQL
update dbo.Supplier
SET FirstNameLocalLang=N'英商'
WHERE Supplier_id=30052810


SQL
INSERT INTO supplier VALUES (N'汉字/漢字'')


No changes required in C# code and while selecting no need to do anything. Keep the usual select query
 
Share this answer
 
v3
Comments
[no name] 29-Jan-13 5:36am    
+5
You need to define your target table fields as nvarchar and load you data using an ADO connection just like any other data.
 
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