DataTable crashing after running 2 hours -
07-17-2008
, 01:41 PM
-- I am working with a winform that access a datatable within the paint
routine.
When the program has run about 2 hours, I start to get the crash:
There is no Current data to access.
at System.Data.DataRow.GetRecordFromVersion(DataRowVe rsion version)
at System.Data.NameNode.Eval(DataRow row, DataRowVersion version)
at System.Data.Select.Eval(BinaryNode expr, DataRow row,
DataRowVersion version)
at System.Data.Select.Evaluate(Int32 record)
at System.Data.Select.FindFirstMatchingRecord()
at System.Data.Select.GetBinaryFilteredRecords()
at System.Data.Select.SelectRows()
at System.Data.DataTable.Select(String filterExpression)
The program is using the datatable which is updated with data which cycles.
It works fine with the first couple of cycles so the data should have no
problem
and then crash in two hours.
Any thoughts about the crash?
supportme2008 |