예제 #1
0
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     BLL.department bll = new BLL.department();
     if (IsshowNum)
     {
         this.rptList.DataSource = bll.getAllEmployee(area, txtPerson.Text.ToUpper(), IsshowNum, hasOrder);
         this.rptList.DataBind();
     }
     else
     {
         this.rptList1.DataSource = bll.getAllEmployee(area, txtPerson.Text.ToUpper());
         this.rptList1.DataBind();
     }
 }
예제 #2
0
 private void RptBind()
 {
     BLL.department bll = new BLL.department();
     if (IsshowNum)
     {
         this.rptList.DataSource = bll.getAllEmployee(area, "", IsshowNum, hasOrder);
         this.rptList.DataBind();
     }
     else
     {
         this.rptList1.DataSource = bll.getAllEmployee(area, "");
         this.rptList1.DataBind();
     }
 }