RT,感谢大大们

解决方案 »

  1.   


    Request.QueryString["photoid"]
      

  2.   

    if(Request.QueryString["photoid"]!=null)
    {
         string photoId = Request.QueryString["photoid"].ToString();
         int photoid;
         if(int.TryParse(photoId ,out photoid))
         {
                photoid 才是你要的值;
                多做点判断,防止SQL注入
         }
    }
      

  3.   

    int photoid=Convert.Toint32(Request.QueryString["Photoid"]);
      

  4.   

    Request.QueryString["photoid"]
    如果是中文家 server。urlencode urldecode
      

  5.   

    后台定义一可访问性足够属性,取值做安全验证
     不显示删除回复显示所有回复显示星级回复显示得分回复 <a href='B.aspx?photoid=<%=属性名)%>'>图片</a>