string IP; int rowno = 0; ... for(...) { IP = dgvMeterDetails["MeterID", rowno].Value.ToString(); rowno = rowno +1; }
foreach (DataGridViewRow row in dgvMeterDetails.Rows) { ... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)