将报告导出到Excel [英] Export report to excel
本文介绍了将报告导出到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过表单上的按钮从工具中的表(数据网格视图)中将报表导出到程序(Microsoft Word 2007和Microsoft Excel 2007),从而允许用户选择所需的字段.迅速回答我
How can I export a report from a table in the tool (data grid view) via a button on the form, to program (Microsoft Word 2007 and Microsoft Excel 2007) giving allow the user to select the fields you want.pleas answer me quickly
推荐答案
DataGridView转换为excel->
在.NET 2.0中将DataGridView导出到Excel(C#代码) [ http://csharp.net-informations.com/excel/csharp-excel-datagridview.htm [^ ]
http://xldennis.wordpress.com/2008/02/12 /export-data-from-datagridview-to-excel/ [
DataGridView to excel ->
Exporting a DataGridView to Excel in .NET 2.0 (C# code)[^]
http://csharp.net-informations.com/excel/csharp-excel-datagridview.htm[^]
http://xldennis.wordpress.com/2008/02/12/export-data-from-datagridview-to-excel/[^]
我需要c#中的代码.请,您的代码是vb.net
I need code in c# .pleas,your code is vb.net
这篇关于将报告导出到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文