[mono-android] mono DataAdapter it error?
mcxxx
mcxxx42 at gmail.com
Mon Jun 11 11:36:19 UTC 2012
I could not understand why a process fails while installing the DataTable I'm
doing wrong
Mono.Data.Sqlite.SqliteDataAdapter da=new
SqliteDataAdapter("select * from custome",con);
System.Data.DataTable dt=new DataTable();
dt.BeginLoadData();
da.Fill(dt);//Error
dt.EndLoadData();
System.EntryPointNotFoundException: sqlite3_column_origin_name at (wrapper
managed-to-native)
Mono.Data.Sqlite.UnsafeNativeMethods.sqlite3_column_origin_name (intptr,int)
at Mono.Data.Sqlite.SQLite3.ColumnOriginalName
(Mono.Data.Sqlite.SqliteStatement,int) [0x00000] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs:503
at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable (bool,bool) [0x0042d] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:625
at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable () [0x00000] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:556
at System.Data.Common.DataAdapter.BuildSchema
(System.Data.IDataReader,System.Data.DataTable,System.Data.SchemaType,System.Data.MissingSchemaAction,System.Data.MissingMappingAction,System.Data.Common.DataTableMappingCollection)
[0x0003b] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:284
at System.Data.Common.DataAdapter.BuildSchema
(System.Data.IDataReader,System.Data.DataTable,System.Data.SchemaType)
[0x00000] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:257
at System.Data.Common.DataAdapter.FillTable
(System.Data.DataTable,System.Data.IDataReader,int,int,int&) [0x00011] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:428
at System.Data.Common.DataAdapter.FillInternal
(System.Data.DataTable,System.Data.IDataReader) [0x00030] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:242
at System.Data.Common.DataAdapter.Fill
(System.Data.DataTable,System.Data.IDataReader) [0x00000] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:558
at System.Data.Common.DbDataAdapter.Fill
(System.Data.DataTable,System.Data.IDbCommand,System.Data.CommandBehavior)
[0x00022] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:297
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable) [0x00011]
in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:273
at (wrapper remoting-invoke-with-check)
System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable)
at WolvoxMobilSatis.Ac_Cari_Hareket_RPT.OnActivityResult
(int,Android.App.Result,Android.Content.Intent)
at Android.App.Activity.n_OnActivityResult_IILandroid_content_Intent_
(intptr,intptr,int,int,intptr) [0x00013] in
/Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/monodroid/src/Mono.Android/platforms/android-8/src/generated/Android.App.Activity.cs:1240
at (wrapper dynamic-method) object.1ed57c2b-1aca-452e-9063-ff5da31952b8
(intptr,intptr,int,int,intptr)
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/mono-DataAdapter-it-error-tp5710277.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list