Today I got the exception "String was not recognized as a valid TimeSpan" when trying to read an oracle column which is specified as
TIME_ELAPSED INTERVAL DAY(2) TO SECOND(6)
When debuging my code:
The following statement
Code: Select all
tmpResultOracleReader[10]
shows in my watch-window that this is an object {System.Timespan}, and it holds the correct values (days, hours, seconds, etc...)
so this seems OK
But when i try the following code
Code: Select all
tmpResultOracleReader.GetTimeSpan(10)
--> why does the .GetTimeSpan(...) method of the Devart.Data.Oracle.OracleDataReader object doesn't return a correct timestamp, but the simple indexer does ???
[/code]
thx
Fred