Esempio n. 1
0
        public void HienThiListTimTuDropDow()
        {
            string    MaDV = ddlDepartment.SelectedValue;
            DataTable dt   = dalUser.TimNhanVienTheoMaDonVi(congty, MaDV);

            if (dt.Rows.Count > 0)
            {
                lsbUserTim.Visible    = true;
                lbsUserXuLy.Visible   = true;
                lsbUserTim.DataSource = dt;
                lsbUserTim.DataBind();
            }
        }
Esempio n. 2
0
        public void HienThiListTimTuDropDow()
        {
            string    MaDV = DropDownDonVi.SelectedValue;
            DataTable dt   = dalUser.TimNhanVienTheoMaDonVi(Congty, MaDV);

            if (dt.Rows.Count > 0)
            {
                ListQuery.Visible    = true;
                listXuLy.Visible     = true;
                ListQuery.DataSource = dt;
                ListQuery.DataBind();
                DivList.Visible = true;
            }
            else
            {
                ListQuery.DataSource = null;
                ListQuery.DataBind();
            }
        }