标签:c style class blog code java
1.在xaml.cs中直接访问、并传递参数
1 System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(HtmlPage.Document.DocumentUri, string.Format("ReportQuery/ReportFolder/RainReportThematicReadOnly.aspx?begintime={0}&endtime={1}&title={2}&stcd={3}&result={4}", 2 beginTime, endTime, ysqztpz.Nt, ysqztpz.Stcd, true)), "_blank", "fullscreen=no,channelmode=no,height=" + screenHeight + ",width=" + screenWidth + ",location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no");
2.在要跳转的页面中
1 //开始时间 2 public string beginTime 3 { 4 get 5 { 6 return Request.QueryString["begintime"]; 7 } 8 } 9 //结束时间 10 public string endTime 11 { 12 get 13 { 14 return Request.QueryString["endtime"]; 15 } 16 } 17 //标题 18 public string title 19 { 20 get 21 { 22 return Request.QueryString["title"]; 23 } 24 } 25 //标题 26 public string stcd 27 { 28 get 29 { 30 return Request.QueryString["stcd"].Trim(); 31 } 32 } 33 //判断 确定、显示 34 public bool result 35 { 36 get { return Convert.ToBoolean(Request.QueryString["result"]); } 37 }
silverlight 跳转指定的aspx页面,布布扣,bubuko.com
标签:c style class blog code java
原文地址:http://www.cnblogs.com/zxbzl/p/3756964.html