private void dgvCTPhieuNhap_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e) { ((DataGridViewComboBoxCell)dgvCTPhieuNhap.Rows[e.RowIndex].Cells["colCTPN_MaNguyenLieu"]).DataSource = NguyenLieuBUS.LayDanhSachTatCaNguyenLieu(); ((DataGridViewComboBoxCell)dgvCTPhieuNhap.Rows[e.RowIndex].Cells["colCTPN_MaNguyenLieu"]).DisplayMember = "TenNguyenLieu"; ((DataGridViewComboBoxCell)dgvCTPhieuNhap.Rows[e.RowIndex].Cells["colCTPN_MaNguyenLieu"]).ValueMember = "MaNguyenLieu"; }