点滴积累,融会贯通

-----喜欢一切有兴趣的东西

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

1 Xaml ---> asp.net

xaml:

HtmlWindow html = HtmlPage.Window;
html.Navigate(new Uri(String.Format("/WordPage.aspx?username={0}&email={1}", "xxxxx", "xxx@microsoft.com"), UriKind.Relative));

asp.net

Response.Write(Request.QueryString["username"]);
Response.Write(Request.QueryString["email"]);

 

2 asp.net ---> xaml

asp.net

Response.Redirect(String.Format("SBTOSNewTestPage.aspx?username={0}&email={1}", "xxxx", "xxxxx@microsoft.com"));

xaml

IDictionary<String, String> paras = HtmlPage.Document.QueryString;
this.textBlock1.Text = paras["username"];
this.textBlock1.Text += paras["email"];

posted on 2010-09-17 14:28  小寒  阅读(975)  评论(0编辑  收藏  举报