摘要:
c# datagridview导出到excel【转载】 http://hi.baidu.com/weizier/blog/item/8212caea1123b4d6d439c9fe.html本作者使用的是方法二:方法一:添加dll引用右击选择你所在的项目的“引用”,选择“添加引用”。弹出“添加引用”对话框。选择“COM”选项卡。选择“Microsoft Excel 11.0 Object Library”单击“确定”按钮。代码public static bool ExportForDataGridview(DataGridView gridView, string fileName, bool 阅读全文
posted @ 2013-12-10 09:49
zzlp
阅读(692)
评论(0)
推荐(0)
浙公网安备 33010602011771号