Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Using odbc driver iam reading a csv file and usign data adapter iam getting the csv data in a datatable .The problem is that there is some data in the below format

СИЛОВЫЕ МАШИНЫ - ЗТЛ ЛМЗ ЭЛЕКТРОСИЛА ЭНЕРГОМАШЭКСПОРТ while updating the same to the database iam getting like this
СИЛОВЫЕ МАШИНЫ - ЗТЛ, ЛМЗ, ЭЛЕКТРОСИЛА, ЭНЕРГОМАШЭКСПОРТ

how can i solve the issue.

Thanks in advance
Posted
Comments
[no name] 27-May-11 2:54am    
which kind of connection string you are using

1 solution

during the update add a letter N before the data. its goes something like this.

update tble set col1 = N'СИЛОВЫЕ'
 
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