Hello friends, I'm trying to compare a grid record, 2 values.
DataGridViewRow row = dgvList.Rows[idx];
if (row.Cells[3].Value.Equals(row.Cells[5].Value.ToString())) {
var alta = Application.OpenForms.OfType<AltaEnInventario>().Single();
alta.CerrarAlta();
}
to call a function but it never enters .. the values that are found when debugging, are
2.00 y 2.00
I'm trying to perform a function, that when the data of index 3 is equal to 5, it calls a method that I have. but never enters
but never enters the control statement. Any other suggestions?