close

解決方式:

  1. 開啟regedit
  2. 搜尋TypeGuessRows =>預設值為8  => 改為0
  3. 搜尋ImportMixedTypes => 確認是否為預設值Text

 

參考文章

http://blog.miniasp.com/post/2008/08/05/How-to-read-Excel-file-using-OleDb-correctly.aspx

 

arrow
arrow
    全站熱搜

    Kenny Lin 發表在 痞客邦 留言(0) 人氣()