odbc csv文件读取问题 [英] odbc csv file reading problem
本文介绍了odbc csv文件读取问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
使用odbc驱动程序iam读取csv文件,使用usign数据适配器iam将csv数据存储在数据表中.问题在于,某些数据的格式如下
СИЛОВЫЕМАШИНЫ-ЗТЛЛМЗЭЛЕКТРОСИЛАЭНЕРГОМАШЭКСПОРТ,同时将其更新到数据库iam,就像这样
С 〜ЛÐ??,Ð??????????
我该如何解决这个问题.
预先感谢
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
推荐答案
在更新过程中,在数据前添加字母N.它是这样的.
更新tble集col1 =N''СИЛОВЫЕ''
during the update add a letter N before the data. its goes something like this.
update tble set col1 = N''СИЛОВЫЕ''
这篇关于odbc csv文件读取问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文