Esempio n. 1
0
        private void loadDanhMuc()
        {
            DM_DVQLYService dm_dviSer = new DM_DVQLYService();

            MTCSYT.SYS_Session session = (MTCSYT.SYS_Session)Session["SYS_Session"];
            int ma_dviqly = int.Parse(session.User.ma_dviqly + "");
            var lst_dmdv  = dm_dviSer.DM_DVQLY_SelectByLever(ma_dviqly, 2);

            cmbCuoiNguon.DataSource = lst_dmdv;
            cmbCuoiNguon.ValueField = "IDMA_DVIQLY";
            cmbCuoiNguon.TextField  = "TEN_DVIQLY";
            cmbCuoiNguon.DataBind();
        }