Meaning of exception in C# app: “Not a legal OleAut date”?

后端 未结 6 1964
暖寄归人
暖寄归人 2020-12-20 12:03

Does anyone know what this means. Getting this in C# winforms applications:

Not a legal OleAut date

6条回答
  •  心在旅途
    2020-12-20 12:36

    What I found was that a column with a large row_id '257381195' was attempting to be read by Excel as a Date. What I ended up doing was altering that column's data to a string by preceding the row_id with a single quote. This resolved my issue. Hope this helps.

提交回复
热议问题