Data truncated after 255 bytes while using Microsoft.Ace.Oledb.12.0 provider

前端 未结 5 762
抹茶落季
抹茶落季 2021-01-21 04:43

I am reading an excel sheet using the ACE provider and certain cells contain data greater than 255 bytes. I tried changing the TypeGuessRows in the registry settings as well as

5条回答
  •  无人及你
    2021-01-21 05:35

    The solution to this was extremely simple. Just change the format of the column containing this huge data to "Text" from "General" in the excel sheet.

    Now I feel like a n00b.

提交回复
热议问题