How to read open excel file at C#

前端 未结 6 2109
北海茫月
北海茫月 2020-12-17 16:47

I want to read already open excel file with C#. I am using this method but it can\'t read the excel file while the file is open in Microsoft excel.

FileStre         


        
6条回答
  •  天涯浪人
    2020-12-17 17:49

    To open the same file more than once at the same time, it needs to be opened in shared mode.

    Hope this may help others.

提交回复
热议问题