ASP.NET-页面展示读取地址栏传来的值
ASP.NET-页面显示读取地址栏传来的值

往第二页面传值,ShowDetalled.aspx?proj=政府利益对租赁空间
第二页面 怎么显示 proj?
------解决方案--------------------
request.QueryString
------解决方案--------------------
后台用个属性值
public string proj
{
get{return Request.QueryString["proj"];}
}
前台直接<%=pro%>就可以用
往第二页面传值,ShowDetalled.aspx?proj=政府利益对租赁空间
第二页面 怎么显示 proj?
------解决方案--------------------
request.QueryString
------解决方案--------------------
后台用个属性值
public string proj
{
get{return Request.QueryString["proj"];}
}
前台直接<%=pro%>就可以用