OLEDB, Writing Excel cell without leading apostrophe

后端 未结 8 1568
长情又很酷
长情又很酷 2020-12-19 07:51

I\'m writing to Excel file using OLEDB (C#). What I need is just RAW data format.

I\'ve noticed all cells (headers and values) are prefixed by apostrophe (\')

<
8条回答
  •  無奈伤痛
    2020-12-19 08:38

    Remove IMEX=1 from your connection string.

    http://www.connectionstrings.com/excel

提交回复
热议问题