将所选行从silverlight网格导出为ex​​cel [英] Export selected rows from silverlight grid to excel

查看:56
本文介绍了将所选行从silverlight网格导出为ex​​cel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,



我是新手,这是我的第一篇文章。

有人可以帮我提供导出选择的代码从silverlight gridview到excel的行。

注意:如果网格有太多行,则复选框解决方案无法工作...如果用户必须选择某些行,则选择每个行的复选框会很痛苦。

所以请建议没有复选框的解决方案。用户将使用鼠标/键盘选择silverlight gridview的行。



谢谢。

Hello Friends,

I am new and this is my first post.
Can someone please help me with code for exporting selected rows from silverlight gridview to excel.
Note: checkboxes solution doesn''t work bcos if grid has too many rows...and in case if user has to select certain rows then selecting the checkbox for each would be painful.
So please suggest solution without checkboxes. User will select rows of the silverlight gridview using mouse/keyboard.

Thanks.

推荐答案

部分这些链接肯定会帮助你 -

http://weblogs.asp.net/stanleygu/archive/2009/12/16/export-silverlight-datagrid-to-excel-xml.aspx [ ^ ]

将Silverlight DataGrid导出为Excel XML / CSV [ ^ ]



如果您使用Infragistics网格,您将获得内置导出到Excel功能。
Some of these links will surely help you -
http://weblogs.asp.net/stanleygu/archive/2009/12/16/export-silverlight-datagrid-to-excel-xml.aspx[^]
Export Silverlight DataGrid to Excel XML/CSV[^]

If you use the Infragistics grid, you will get inbuilt export to excel features.


这篇关于将所选行从silverlight网格导出为ex​​cel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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