private static void AddItem(RowData newSubRow, params string[] list) { newSubRow.BeginUpdate(); newSubRow["Property"] = list[0]; newSubRow["DisplayValue"] = list[1]; newSubRow["Value"] = list[2]; newSubRow.EndUpdate(); }