将数据从一个GridView复制到另一个Gridview,然后将数据导出到Excel [英] Copy data from one GridView to Another Gridview and then Export data to Excel

查看:93
本文介绍了将数据从一个GridView复制到另一个Gridview,然后将数据导出到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我有两个网格视图



Gridview 1和Gridview 2我希望将数据从Gridview1绑定到Gridview2然后将数据导出到Excel,


在Binding我使用DATAVIEW将数据绑定到Gridview1和DataTable。



怎么做??? br />


提前致谢.....

hi i Have Two Gridviews with

Gridview 1 and Gridview 2 and i want to bind data from Gridview1 to Gridview2 and then Export data to Excel,

In Binding i used DATAVIEW to Bind data to Gridview1 and DataTable also.

How to Do this??

Thanks in advance.....

推荐答案

请参考以下链接:

Refer the links below:
  • Export Gridview Data to Excel in ASP.NET[^]
  • Export gridview data to Excel/word document in asp.net[^]
  • Export GridView to Excel Complete Code![^]
  • Export GridView To Excel ASP.NET[^]
  • ASP.Net 2.0: Export GridView to Excel[^]
  • And a lot more here[^].


这篇关于将数据从一个GridView复制到另一个Gridview,然后将数据导出到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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