Okay i had a look at the manual but still the same problems:
my Code:
DataSet dataset = new DataSet();
SQLiteDataAdapter adapter = new SQLiteDataAdapter(command.CommandText, con);
try
{
adapter.Fill(dataset);
}
my DateTimeFormat :
tried both
1) 2010-08-15 07:13:01
2) 2010-08-15 07:13:01 +02:00
Problem: I always get the following exception stack trace
bei System.DateTimeParse.ParseExactMultiple(String s, String[ formats, DateTimeFormatInfo dtfi, DateTimeStyles style)
bei System.DateTime.ParseExact(String s, String[ formats, IFormatProvider provider, DateTimeStyles style)
bei System.Data.SQLite.SQLiteConvert.ToDateTime(String dateText)
bei System.Data.SQLite.SQLite3.GetDateTime(SQLiteStatement stmt, Int32 index)
bei System.Data.SQLite.SQLite3.GetValue(SQLiteStatement stmt, Int32 index, SQLiteType typ)
bei System.Data.SQLite.SQLiteDataReader.GetValue(Int32 i)
bei System.Data.SQLite.SQLiteDataReader.GetValues(Object[ values)
bei System.Data.ProviderBase.DataReaderContainer.CommonLanguageSubsetDataReader.GetValues(Object[ values)
bei System.Data.ProviderBase.SchemaMapping.LoadDataRow()
bei System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
bei System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
bei System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
bei System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[ datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
bei System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
bei System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
Any idea ?