Cricket
Active member
I'm trying to loop through deleted rows in a DataTable but it gives me the following error "Deleted row information cannot be accessed through the row."
How do you read the information from a row if it's RowState has been changed to Deleted?
Here is the code.
How do you read the information from a row if it's RowState has been changed to Deleted?
Here is the code.
VB.NET:
[size=2]
[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] dt [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Data.DataTable = [/size][size=2][color=#0000ff]Me[/color][/size][size=2].dtSeriesStandardFeature.GetChanges()
[/size][size=2][color=#0000ff]For[/color][/size][size=2] x [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]Integer[/color][/size][size=2] = 0 [/size][size=2][color=#0000ff]To[/color][/size][size=2] dt.Rows.Count - 1 [/size][size=2][color=#0000ff]Step[/color][/size][size=2] 1
MsgBox(dt.Rows(x).Item("fuid_Series"))
[/size][size=2][color=#0000ff]Next
[/color][/size]