oledb连接字符串忽略字母数字值。 [英] oledb connection string ignoring alpha numeric values.

查看:174
本文介绍了oledb连接字符串忽略字母数字值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\SigmaFlow Projects\BPI\NewTFS\Insight\Insights Web\TempFiles\xbumrsw05bs53x52gojp0tayH\;Extended Properties='text;HDR=YES;IMEX=1;'





oledb驱动程序填充数据但忽略整个值为cosist字母数字。



实际上,当用户导入excel文件时,它表现得很奇怪。这里有一个包含alpha数字,文本和数字的列,Oldeb驱动程序检查大多数值的数据类型,如果它有4个字母数字& 2数字,然后它显示4字母数字&用2个数字代替2个空值,其他fielfs也会出现相同的情况..它只看到多数&然后决定。



oledb driver filling data but ignoring the entire value which is cosist of alphanumeric.

actually ,when user import the excel file , it behave strange.Here I have a column which have alpha numer ,text and numbers, Oldeb driver check the majority of the value's datatypes, if it has 4 alpha numeric & 2 numeric, then it shows 4 alpha numeric & 2 nulls in place of 2 numeric, same situation will occured with the others fielfs.. it sees only the majority & then decide.

推荐答案

从连接字符串的末尾删除 IMEX = 1

如需了解更多信息,请参阅: http://www.connectionstrings.com/excel/ [ ^ ]
Remove IMEX=1 from the end of connection string.
For further information, please, see: http://www.connectionstrings.com/excel/[^]


这篇关于oledb连接字符串忽略字母数字值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆