使用colspan从网格视图导出到Excel [英] Export to Excel from grid view with colspan

查看:145
本文介绍了使用colspan从网格视图导出到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想从gridview导出数据,因为我已经使用StringWriter,但是我的问题是我在gridview中使用colspan和rowspan作为必要性.数据正在导出到excel,但不正确.这是由于colspans和rowpans所致. excel中的导出数据不能捕获colspans和rowpans.

此导出不能使用任何工具或控件.

任何人都知道解决方案...

解决方案

检查一下:
所有格式的报告 [ ^ ]


您可以始终使用 [ ^ ].


您好,请在下面使用链接

从C#中的GridView导出到Excel [ ^ ]

Hi,

I want to export data from gridview for that i have used StringWriter, but my problem is i am using colspan and rowspan in gridview as neccesity. Data is exporting to excel but not correct. It is due to the colspans and rowspans. The exported data in excel in not catching the colspans and rowspans.

No any tool or controls can be used for this export.

Anybody knows the solution...

解决方案

Check this out:
Report in all formats[^]


you can allways use this[^].


Hi, Use below link

Export to Excel from GridView in C#[^]


这篇关于使用colspan从网格视图导出到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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