Silverlight URL传值

Silverlight URL传值,第1张

概述例如:http://localhost:6308/Index.aspx?age=22&sex=男,从中获取age和sex 在SL端App.xaml.cs中 private void Application_Startup(object sender, StartupEventArgs e) { //获取URL中的参数集合

例如:http://localhost:6308/Index.aspx?age=22&sex=男,从中获取age和sex

在SL端App.xaml.cs中

        private voID Application_Startup(object sender,StartupEventArgs e)        {            //获取URL中的参数集合            IDictionary<String,String> paras = HTMLPage.document.queryString;            RootVisual = new MainPage();        }


链接:APS和Silevrlight的互通讯,http://www.cnblogs.com/chengxingliang/archive/2011/04/14/2015085.html。

总结

以上是内存溢出为你收集整理的Silverlight URL传值全部内容,希望文章能够帮你解决Silverlight URL传值所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1013607.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-22
下一篇2022-05-22

发表评论

登录后才能评论

评论列表(0条)

    保存