如何从Silverlight XAP访问XML文件? [英] How to access XML File from Silverlight XAP?

查看:98
本文介绍了如何从Silverlight XAP访问XML文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

           我正在使用silverlight 4.0,我想将.xml文件更新或修改为silverlight xap位置。但它给我一个错误,如访问被拒绝。可以任何人给我正确的方式访问
silverlight xap文件并将xml文件保存到silverlight xap。

            I am working on silverlight 4.0 and I want to update or modify .xml file into silverlight xap location. but it give me error like access denied. can any one give me proper way for access silverlight xap file and save xml file into silverlight xap.

谢谢,

推荐答案

XAP中的文件是只读的,没有办法从同一个地方更改它们应用。您可以在服务器中创建一个更改XAP文件的服务,下次访问该网站时,将下载一个新的XAP文件。
The files in the XAP are read-only, there is no way to change them from the same application. You can make a service in the server that makes changes to the XAP file, and the next time you go to the web site, a new XAP file will be downloaded.


这篇关于如何从Silverlight XAP访问XML文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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