什么是导出大量的数据从C#脱颖而出的最佳/最快的方法 [英] What is the best / fastest way to export large set of data from C# to excel

查看:146
本文介绍了什么是导出大量的数据从C#脱颖而出的最佳/最快的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用的OpenXML库导出数据code。

I have code that uses the OpenXML library to export data.

我20,000行和22列,它需要年龄(约10分钟)。

I have 20,000 rows and 22 columns and it takes ages (about 10 minutes).

在那里,将在C#中的数据导出到Excel中会更快的任何解决方案,因为我来自一个asp.net MVC应用程序这样做的,很多人的浏览器超时。

is there any solution that would export data from C# to excel that would be faster as i am doing this from an asp.net mvc app and many people browsers are timing out.

推荐答案

我结束了使用开源解决方案称为ClosedXML了伟大的工作。

I wound up using an open source solution called ClosedXML that worked great

这篇关于什么是导出大量的数据从C#脱颖而出的最佳/最快的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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