private void ClearRow(int row) { //This function clears a row of data, style and images, skipping the 0th column for (int i = 1; i < c1FlexGrid1.Cols.Count; i++) { c1FlexGrid1[row, i] = null; } c1FlexGrid1.SetCellStyle(row, devCol, c1FlexGrid1.Styles["Normal"]); c1FlexGrid1.SetCellImage(row, devCol, null); }