SyntaxFix
Write A Post
Hire A Developer
Questions
You can use DataColumn.Ordinal to get the index of the column in the DataTable. So if you need the next column as mentioned use Column.Ordinal + 1:
DataColumn.Ordinal
DataTable
Column.Ordinal + 1
row[row.Table.Columns["ColumnName"].Ordinal + 1] = someOtherValue;