将多个表从数据库导出到Excel工作表 [英] Export multiple tables to Excel Sheets from database

查看:165
本文介绍了将多个表从数据库导出到Excel工作表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的程序中,我在GridView中显示了所有的表名.我想通过单击复选框从该GridView中导出多个表...此选择在运行时完成,在选择时这些表是动态的导出到Excel工作表..

In my program i displayed all the table names with in the gridview.I want export more than one table from that gridview by clicking on the checkbox... this selection done at runtime at that which tables are selected those are only dynamically Exported to Excel sheets..

推荐答案

使用CodeProject搜索引擎...

将DataGrid导出到Excel,Word和文本文件 [ ^ ]

将数据表转换为Excel [将DataGrid导出到Excel [
Use the CodeProject search engine...

Exporting DataGrid to Excel, Word and Text Files[^]

DataTable to Excel[^]

Export DataGrid to Excel[^]


这篇关于将多个表从数据库导出到Excel工作表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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