Last post Mar 12, 2011 12:48 AM by zoltac007
Mar 11, 2011 06:51 PM|zoltac007|LINK
How do I refer to row index. I need to compare the data in the row before the active row in a foreach loop.
foreach (DataRow row in dtGCats.Rows)
tempCG_ID = Convert.ToInt16(row["CG_ID"]);
prevCG_ID = Convert.ToInt16( need row -1, row before above current row)
Mar 12, 2011 12:48 AM|zoltac007|LINK
Removed post - took different approach.