Exemplo n.º 1
0
        public void LoadDanhSachNhanvienPQ(ref string err, ComboBox combo)
        {
            DataTable numberr;

            numberr = _db.ListPQ(ref err);
            if (numberr.Rows.Count > 0)
            {
                combo.DataSource    = numberr;
                combo.DisplayMember = "IDUsername";
                combo.ValueMember   = "ID_User";
            }
        }