在Excel中将2个网格视图导出为2个不同的工作表 [英] Export 2 gridviews to 2 different sheets in Excel

查看:89
本文介绍了在Excel中将2个网格视图导出为2个不同的工作表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有2个网格视图,网格视图的标题部分绑定在row_created事件中,其他数据从数据集绑定。

在这里,我需要将2个gridviews导出到excel,其中第一张表格中的gridview1和第二张表格中的gridview2格式。

我在谷歌搜索过但我无法得到解决方案

请帮助我解决问题

Hi,

I Have 2 Gridviews, Header section of gridviews is bound in row_created event and other data is bind from dataset.
Here I need to export 2 gridviews to excel where gridview1 in first sheet and gridview2 in second sheet of excel.
I have searched in google but I couldn't get the solution
Please help me in solving the problem

推荐答案

你可以去,

http://stackoverflow.com/questions/7632782/export-gridview-to-multiple-excel-sheet [ ^ ]

导出到Excel - 多个GridView到多个工作表 [ ^ ]

将数据集导出到多个Excel表格 [ ^ ]

http://forums.asp.net/t/1697128.aspx [ ^ ]



-KR
You can go for,
http://stackoverflow.com/questions/7632782/export-gridview-to-multiple-excel-sheet[^]
Export to Excel – Multiple GridView into Multiple Worksheet[^]
Export DataSet to Multiple Excel Sheets[^]
http://forums.asp.net/t/1697128.aspx[^]

-KR


这篇关于在Excel中将2个网格视图导出为2个不同的工作表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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