I have a DataTable, and I want to find out the value of the source column for all changed rows of data.
I use the following approach to get the value of an Orginal column before changing the DataRow.
DataRow[] dataRowArray = dataTableInstance.Select(null,null,DataViewRowState.OriginalRows);
DataRow originalDataRow = dataRowArray[rowIndex][columnIndex, DataRowVersion.Original]
Please indicate what I am doing wrong here? The above code does not give me the source column, instead it gives me the last modified value of the column.
Thank.
Nihil
source
share