Hi guys,
ive got a datagridview populated, in a column of names, in a textbox i want to write a name, and on btn click i want to check the DGV for that name, can someone point me in the right direction please
what i have so far, but i think im totallly off lol
int i = dgv_Cust.Rows.Count;
for (i = 0; i < dgv_Cust.Rows.Count; i++)
//{
// Account = Convert.ToString(dgv_Cust.Rows[i].Cells[8].Value);
//}
if (dgv_Cust.Rows[i].Cells[8].Value == "TOM")
{
if (tbox_Type.Text == "TOM") ;
MessageBox.Show("maybe this is the way?");
}
many thanks in advance :)