|
The specific value of datetime is the default 1900-01-01 of Sybase database
MsaFluxC export data has an exception: System.InvalidOperationException: The provider could not determine the DateTime value. For example, the row was just created, the default for the DateTime column was not available, and the consumer had not yet set a new DateTime value.
at System.Data.OleDb.ColumnBinding.Value ()
at System.Data.OleDb.OleDbDataReader.GetValues (Object [] values)
at System.Data.ProviderBase.DataReaderContainer.CommonLanguageSubsetDataReader.GetValues (Object [] values)
at System.Data.ProviderBase.SchemaMapping.LoadDataRow ()
at System.Data.Common.DataAdapter.FillLoadDataRow (SchemaMapping mapping)
at System.Data.Common.DataAdapter.FillFromReader (DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
at System.Data.Common.DataAdapter.Fill (DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
at System.Data.Common.DbDataAdapter.FillInternal (DataSet dataset, DataTable [] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill (DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill (DataSet dataSet, String srcTable)
at MsaFluxC_2.Service_C.myTimer_Elapsed (Object sender, ElapsedEventArgs e)
Table_Log: select * from DTYW_CBSBYT where MRUT> = '2016-1-1 0:00:00' and MRUT <'2017-1-3 10:22:27' and GXBZ <> 'D' |
|