Read Excel file with OleDB c#, when it is used by other process

前端 未结 3 983
执笔经年
执笔经年 2020-12-07 01:45

I am trying to read an excel file every 2 seconds, This file is getting updated by other RTD application.

I am able to read this file by Oledb connection, but probl

3条回答
  •  粉色の甜心
    2020-12-07 02:33

    Not sure , why do you want to read the excel the way you are doing.

    You can try LinqToExcel for excel reading , its a nice little library for reading excel files also if you need to create excel then try to EPPLUS library. These library i personally found really effective when working with Excels

提交回复
热议问题