vendredi 19 juin 2015

C# & WP8.1 Insert result of query select into array

I have C# project for Windows Phone 8.1 with SQLite database.
Database contain a table, from which need select all data, and write it into array. Also have 2 classes: Links (like name of table) - contain description of table; Repository - class for methods.
I dont know how create method for inserting. Begin like: using (var statement = SQLiteConnection.Prepare("SELECT _id, link FROM links WHERE _id=?")), but what next?

Aucun commentaire:

Enregistrer un commentaire