示例#1
0
 public void DataBindToGridview()
 {
     ZWL.BLL.ERPBookJieHuan MyModel = new ZWL.BLL.ERPBookJieHuan();
     GVData.DataSource = MyModel.GetList("BookName Like '%" + this.TextBox1.Text + "%' and UserName='******' order by ID desc");
     GVData.DataBind();
     LabPageSum.Text     = Convert.ToString(GVData.PageCount);
     LabCurrentPage.Text = Convert.ToString(((int)GVData.PageIndex + 1));
     this.GoPage.Text    = LabCurrentPage.Text.ToString();
 }
示例#2
0
 public void DataBindToGridview()
 {
     ZWL.BLL.ERPBookJieHuan MyModel = new ZWL.BLL.ERPBookJieHuan();
     GVData.DataSource = MyModel.GetList("BookName Like '%" + this.TextBox1.Text + "%'  order by ID desc");
     GVData.DataBind();
     LabPageSum.Text = Convert.ToString(GVData.PageCount);
     LabCurrentPage.Text = Convert.ToString(((int)GVData.PageIndex + 1));
     this.GoPage.Text = LabCurrentPage.Text.ToString();
 }
示例#3
0
 public void DataBindToGridview()
 {
     ZWL.BLL.ERPBookJieHuan MyModel = new ZWL.BLL.ERPBookJieHuan();
     GVData.DataSource = MyModel.GetList("BookName Like '%" + this.TextBox1.Text + "%'  order by ID desc");
     GVData.DataBind();
     LabPageSum.Text     = Convert.ToString(GVData.PageCount);
     LabCurrentPage.Text = Convert.ToString(((int)GVData.PageIndex + 1));
     this.GoPage.Text    = LabCurrentPage.Text.ToString();
 }