Hi
I am getting this error after dt.delete()
foreach (DataRow row in dt.Rows) { if (ND == (dtCount - 1) - init && (Convert.ToInt32(row[3].ToString().Trim()) < (Convert.ToInt32(HRpl) - 1))) { row.Delete(); } if (ND == (dtCount - 1) - init && (Convert.ToInt32(row[3].ToString().Trim()) > (Convert.ToInt32(HRpl)))) { row.Delete(); } }
Thanks