从Silverlight应用程序将DataGrid数据导出到Excel [英] Export DataGrid data to Excel from Silverlight Application

查看:115
本文介绍了从Silverlight应用程序将DataGrid数据导出到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Silverlight 3.0以C#作为Codebehind构建应用程序.我已经在应用程序中放置了一个DataGrid.当我将DataGrid保存在桌面中并在MS Excel中打开它时,我只能看到标题.

数据未导出到客户端.请帮助我如何使用Schema导出数据.

I am using Silverlight 3.0 to build an application with C# as Codebehind. I have placed a DataGrid in the application. When I save the DataGrid in desktop and open it in MS Excel, I can only see the headers.

Data is not exported to the client. Please help me how to export data with the Schema.

推荐答案

我希望对此发表文章.看看吧.

将Silverlight DataGrid导出到Excel XML/CSV [
I hope there is an article on this. Check it out.

Export Silverlight DataGrid to Excel XML/CSV[^]

I hope this will help you.
Cheers
:cool:


这篇关于从Silverlight应用程序将DataGrid数据导出到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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