Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 C# windows 应用程序中,我将 sql server 数据导出到远程驱动器上的 excel。但它太慢了。但是,如果我将数据导出到本地驱动器中的 excel,它会很快。
如果我想将数据导出到远程驱动器,如何增加时间?
提前致谢...
如果您可以选择,请导出到本地驱动器,然后将导出的文件复制/移动到远程驱动器。
导出到本地计算机上的临时文件夹,将其复制到网络,然后从临时文件夹中删除文件。您甚至可以在单独的线程上进行复制和删除,这样 UI 就不会被阻塞。