如何处理在C#中访问excel的多个用户? [英] How do handle multple users accessing excel in C# ?

查看:90
本文介绍了如何处理在C#中访问excel的多个用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Interop创建一个exe来读取和更新特定的Excel。这个exe将在我的多用户访问的共享路径中,这意味着excel也会同时更新我的​​多个用户..如何在C#中以编程方式处理这个?



我尝试过:



我正在创建一个exe来使用Interop读取和更新特定的Excel。这个exe将在我的多用户访问的共享路径中,这意味着excel也将同时更新我的​​多个用户..如何在C#中以编程方式处理它?<​​div class =h2_lin>解决方案

阅读以下内容:



* c# - 多个用户使用OpenXML并发写入共享的Excel文件 - Stack Overflow [ ^ ]



* 一个Excel文件,多个编辑用户,实时更新 - 超级用户 [ ^ ]



*
如何使Excel允许多个用户| Chron.com [ ^ ]

I am creating a exe to read and update a particular excel using Interop. This exe will be in share path accessed my multi users ,which means the excel will also be updated my multiple user at same time .. how to handle this programmatically in C# ?

What I have tried:

I am creating a exe to read and update a particular excel using Interop. This exe will be in share path accessed my multi users ,which means the excel will also be updated my multiple user at same time .. how to handle this programmatically in C# ?

解决方案

Have a read of these:

* c# - Multiple users writing concurrently to shared Excel file using OpenXML - Stack Overflow[^]

* One Excel file, multiple editing users, live updates - Super User[^]

* How to Make Excel Allow Multiple Users | Chron.com[^]


这篇关于如何处理在C#中访问excel的多个用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆