private void frmChatLieu_Load(object sender, EventArgs e) { DataTable dtCl = new DataTable(); dtCl = clCtrl.getData(); dgvds.DataSource = dtCl; binding(); }
private void cmbcl_MouseClick(object sender, MouseEventArgs e) { DataTable dtCl = new DataTable(); dtCl = clCtrl.getData(); cmbcl.DataSource = dtCl; cmbcl.DisplayMember = "TENCL"; }