silverlight获取web的url参数

1.网址(如:http://localhost:8081/index.aspx?name=123)

2.获取name=123的信息

3.IDictionary<string,string> dict = System.Windows.Browser.HtmlPage.Document.QueryString;

4. textblock.text=dict["name"]; 结果为123

posted @ 2014-10-11 12:56  银河系上的地球  阅读(194)  评论(0编辑  收藏  举报