Beispiel #1
0
 private void HienThiDonVi()
 {
     DropDownBoPhan.DataSource     = BDepartmentBUS.DanhSachBoPhan();
     DropDownBoPhan.DataValueField = "ID";
     DropDownBoPhan.DataTextField  = "DepName";
     DropDownBoPhan.DataBind();
 }
Beispiel #2
0
        private void HienThiDropDownList()
        {
            string congty = DropCty.SelectedValue.ToString();

            DropDownBoPhan.DataSource     = dal.QryDonViLenDropBo(congty);
            DropDownBoPhan.DataValueField = "ID";
            DropDownBoPhan.DataTextField  = "DepName";
            DropDownBoPhan.DataBind();
        }
Beispiel #3
0
        private void HienThiDropDownList()
        {
            string macongty = Session["congty"].ToString();

            DropDownBoPhan.DataSource     = dal.QryDonViLenDropBo(macongty);
            DropDownBoPhan.DataValueField = "ID";
            DropDownBoPhan.DataTextField  = "DepName";
            DropDownBoPhan.DataBind();
        }
        private void HienThiDropDownList()
        {
            string congty = DropCty.SelectedValue.ToString();

            DropDownBoPhan.DataSource     = BDepartmentBUS.DanhSachBoPhan(congty);
            DropDownBoPhan.DataValueField = "ID";
            DropDownBoPhan.DataTextField  = "DepName";
            DropDownBoPhan.DataBind();
        }