将数据从Excel导入到Silverlight [英] Import Data from Excel To Silverlight

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

问题描述

大家好,

我正在使用Silverlight4,我需要将数据从Excel读取到Silverlight,并要显示.我在网上搜索并找到了很多选择,但是当您创建"Out of Browser" Silverlight应用程序时,所有选项都可以工作.我有第三方dll"Lite.excelLibrary",但这仅适用于Excel版本(97-2003).我需要一个dll或任何其他解决方案,适用于所有excel版本.请提供解决方案.

提前谢谢.

Sudhir

这是非常紧急的. "已删除"

Hi To All,

I am using Silverlight4, I need to read the data from Excel to Silverlight and want to display. i search on net and found so many option but all are working when u create "Out of Browser" Silverlight application. I got a third party dll "Lite.excelLibrary" but this is working only for Excel version (97-2003). i need a dll or any other solution, which work for all excel version. Please provide me solution.

Thanks in advance.

Sudhir

it is very urgent. ''deleted''

推荐答案

可能是这些对您有所帮助(特别是第二个):
http://www.codegain.com/articles/linq/general/how-to-read-excel-data-using-linq-to-excelprovider-in-dotnet.aspx [ http://www.silverlightshow.net/items/An-Excel- file-Viewer-in-Silverlight-4.aspx [ ^ ]

现在,我的想法是通过WCF在服务器上处理有关excel的所有活动,然后在Silverlight应用程序中用WCF响应填充DataGrid(或其他控件).

希望它能有所帮助.
May be these helps you a little (specially the second one):
http://www.codegain.com/articles/linq/general/how-to-read-excel-data-using-linq-to-excelprovider-in-dotnet.aspx[^]

http://www.silverlightshow.net/items/An-Excel-file-Viewer-in-Silverlight-4.aspx[^]

Now, an idea that I have is to process all activities about excel on your server via WCF, then in your Silverlight Application you can fill your DataGrid (or other control) with the WCF response.

Hope its helps a little.


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

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