演示地址:
http://www.lemongtree.com/beta/
该页面上的栏目导航,分别传递不同的classid,来显示不同分类的文档,现在不管点什么分类,文档都是一样的,不解中.
index.aspx.cs
private void Page_Load(object sender, System.EventArgs e)
        
{
            
// 在此处放置用户代码以初始化页面
            
//            if(!Page.IsPostBack)
//            {
                 classid= System.Web.HttpContext.Current.Request.QueryString["classid"];
                
if(classid!=null&&LemongTree.BLL.Function.isNumeric(classid))
                
{
                    
this.Pager.RecordCount = docBLL.GetDocCount(Convert.ToInt16(classid));
                    
this.FillData("CateGoryID="+classid,Pager.PageSize*(Pager.CurrentPageIndex-1),Pager.PageSize);
                }

                
else
                
{
                    
this.Pager.RecordCount = docBLL.GetDocCount(0);
                    
this.FillData("",Pager.PageSize*(Pager.CurrentPageIndex-1),Pager.PageSize);
                }

                
//            }
        }

        
private void FillData(string where,int min,int max)
        
{
            DataTable t 
= docBLL.getDocList(where,min,max).Tables[0];
            
this.Repeater1.DataSource = t;
            
this.Repeater1.DataBind();
            
this.Pager.CustomInfoText="共有:" + Pager.RecordCount.ToString() + "条记录,每页显示记录"+Pager.PageSize+"条,";
            Pager.CustomInfoText
+= "当前页次" + Pager.CurrentPageIndex.ToString() + "/"+Pager.PageCount.ToString()+"";
        }
单步调式时,classid的值的确是传入了,为什么没有实现所需的效果?