Order of sheets in Excel file while reading with GetOleDbSchemaTable

后端 未结 1 1054
野性不改
野性不改 2020-12-21 21:18

I am using an ACE.OLEDB as below to read an excel file in C#. My Excel file has the following Sheets and in below order:

Sheet1, Sheet1 (2), Sheet2

The vari

相关标签:
1条回答
  • 2020-12-21 22:03

    According to this post, the moderator says I am afraid that OLEDB does not preserve the sheet order as they were in Excel..

    While Googling though, I found this SO answer that might help you out.

    0 讨论(0)
提交回复
热议问题