将数据表从.NET导出到Excel [英] Export Datatable from .NET to Excel
本文介绍了将数据表从.NET导出到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我想要从.NET应用程序写入Excel的最佳方法.
它应该很快,并且我应该能够根据要生成的报告格式化数据.
该应用程序将从sql数据库读取并将数据填充到数据表中,该报告应从该数据表中生成.
谢谢.
Hello,
I want the best method to write from a .NET application to Excel.
It should be fast and I should be able to format the data according to the report I want to generate.
The app will read from sql database and fill data into a datatable the report should be generated from the datatable.
Thank you.
推荐答案
参考:
将数据表转换为Excel [
refer:
DataTable to Excel[^]
hope this helps you
尝试一下...
将DataGrid导出到Excel,Word和文本文件 [
Try this...
Exporting DataGrid to Excel, Word and Text Files[^]
这篇关于将数据表从.NET导出到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文