将分页的dgv导出到xml [英] exporting paged dgv to xml

查看:74
本文介绍了将分页的dgv导出到xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于此问题的最后一个问题是如何导出分页dgv,有人找不到我可以阅读的任何链接,因为我找不到它

and the final question on this matter is how to export paged dgv, does anyone have any link that I can read about it, because I cant find it

推荐答案

根据该网站 http://www .dotnetfunda.com/forums/thread8919-how-to-export-into-excel-from-datagrid-in-csharp.aspx [ ^ ]

如果将datagrid设置为不允许排序或分页,则重新绑定然后导出.

这有帮助吗?
According to this website http://www.dotnetfunda.com/forums/thread8919-how-to-export-into-excel-from-datagrid-in-csharp.aspx[^]

If you set the datagrid to be NOT allowed to sort or page then rebind then export.

Does that help?


这篇关于将分页的dgv导出到xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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