从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: