A
Adrian Parker
We've suddenly started getting a problem with a call to clear the contents
of a DataTable. This is on a live customer site that's been working fine
until yesterday. As far as we know they've not changed or updated the
server in any way.
"There is no row at position 42"
at System.Data.RBTree`1.GetNodeByIndex(int32 userIndex)
at System.Data.DataTable.Clear(Boolean clearAll)
at system.Data.DataTable.Clear()
Public Overrides Sub GetTable(ByRef aTbl As DataTable, ByVal aSQL As String)
If aTbl Is Nothing Then
aTbl = New DataTable
Else
aTbl.Clear()
End If
' code to retrieve data
End Sub
Any ideas ?
of a DataTable. This is on a live customer site that's been working fine
until yesterday. As far as we know they've not changed or updated the
server in any way.
"There is no row at position 42"
at System.Data.RBTree`1.GetNodeByIndex(int32 userIndex)
at System.Data.DataTable.Clear(Boolean clearAll)
at system.Data.DataTable.Clear()
Public Overrides Sub GetTable(ByRef aTbl As DataTable, ByVal aSQL As String)
If aTbl Is Nothing Then
aTbl = New DataTable
Else
aTbl.Clear()
End If
' code to retrieve data
End Sub
Any ideas ?