private void dgvMembers_CellClick(object sender, DataGridViewCellEventArgs e) { dgvProduct.DataSource = null; string index = dgvMembers.CurrentRow.Cells[0].Value.ToString(); //MessageBox.Show(index); mem.LoadDGVPackage(dgvPackage, index); mem.loadDGVProduct(dgvProduct, index); mem.loadDGVPT(dgvPT, index); getID = index; txtMember.Text = dgvMembers.CurrentRow.Cells[1].Value.ToString() + " " + dgvMembers.CurrentRow.Cells[2].Value.ToString(); }