Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 在asp幻灯片中为属性href使用查询字符串_Asp.net_Variables_Query String_Slideshow - Fatal编程技术网

Asp.net 在asp幻灯片中为属性href使用查询字符串

Asp.net 在asp幻灯片中为属性href使用查询字符串,asp.net,variables,query-string,slideshow,Asp.net,Variables,Query String,Slideshow,我用于从页面获取查询字符串: <asp:HyperLink ID="HyperLinkAlbum1" runat="server" NavigateUrl="Photos.aspx?Album=1"><img src="images/CircleMenu/thumbs/1.jpg" alt=""/></asp:HyperLink> 但它没有给出我想要的html值。我也不使用任何东西…使用会话 有关更多信息,请查看此链接 <a href="

我用于从页面获取查询字符串:

   <asp:HyperLink ID="HyperLinkAlbum1" runat="server" NavigateUrl="Photos.aspx?Album=1"><img src="images/CircleMenu/thumbs/1.jpg" alt=""/></asp:HyperLink>
但它没有给出我想要的html值。我也不使用任何东西…

使用会话 有关更多信息,请查看此链接

   <a href="images/prettyPhoto/<%=Album%>/fullscreen/1.jpg" rel="prettyPhoto[gallery2]" title="">
    <img src="images/prettyPhoto/<%=Album%>/fullscreen/1.jpg" width="60" height="60" alt="" />
protected string Album ;
protected void Page_Load(object sender, EventArgs e)
{     var Album = Request.QueryString.ToString();

}