private void ShowStudent() { LearnSite.BLL.StudentsExcel bll = new LearnSite.BLL.StudentsExcel(); GVstudent.DataSource = bll.GetAllList(); GVstudent.AllowPaging = false; GVstudent.DataBind(); Labelcount.Text ="共"+ GVstudent.Rows.Count.ToString()+" 条记录"; GVstudent.AllowPaging = true; GVstudent.DataBind(); }
private void ShowStudent() { LearnSite.BLL.StudentsExcel bll = new LearnSite.BLL.StudentsExcel(); GVstudent.DataSource = bll.GetAllList(); GVstudent.AllowPaging = false; GVstudent.DataBind(); Labelcount.Text = "共" + GVstudent.Rows.Count.ToString() + " 条记录"; GVstudent.AllowPaging = true; GVstudent.DataBind(); }