On Jan 24, 2013, at 4:06 AM, jalle007 <jask...@yahoo.com> wrote: > I tried many samples but none of them worked. I dont understand why is so > complicated to use db in programming? you said you know of some working ?
Apparently you didn't get my earlier reply. Let's see if you get this one: Android.Database.Sqlite samples: https://github.com/xamarin/monodroid-samples/tree/master/ContentProvider https://github.com/xamarin/monodroid-samples/blob/master/ContentProvider/LocationContentProvider.cs#L74 https://github.com/xamarin/monodroid-samples/tree/master/NotePad https://github.com/xamarin/monodroid-samples/blob/master/NotePad/NotesDbAdapter.cs#L156 https://github.com/xamarin/monodroid-samples/tree/master/SearchableDictionary https://github.com/xamarin/monodroid-samples/blob/master/SearchableDictionary/DictionaryDatabase.cs#L101 Mono.Data.Sqlite samples: https://github.com/xamarin/monodroid-samples/tree/master/SanityTests https://github.com/xamarin/monodroid-samples/blob/master/SanityTests/Hello.cs#L125 https://github.com/xamarin/monodroid-samples/tree/master/NotePad-Mono.Data.Sqlite https://github.com/xamarin/monodroid-samples/blob/master/NotePad-Mono.Data.Sqlite/NoteRepository.cs Mono.Data.Sqlite use requires Android API 8 (Android v2.2+) or later to execute. As others have mentioned, it would be extremely helpful if you could mention what errors you're getting (complete with stack traces, if appropriate). - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid