/// <summary> /// Gets the value. /// </summary> /// <returns>The value.</returns> /// <param name="Index">Index.</param> /// <param name="CellName">Cell name.</param> public DSDataValue GetValue(int Index, String CellName) { if (Index == -1) { return(new DSDataValue() { ColumnName = CellName, Value = Columns [CellName].Caption }); } else { return(CurrentTable.GetValue(Index, CellName)); } }