lundi 2 novembre 2015

how to fill listview with sqlite (partial values) c#

Is it possible fill listview with partial values, for exemple. If I need fill with all value, I do this

listaHinos.ItemsSource = await con.Table<hinos>().ToListAsync(); // ok

But, how can i fill the listview with partial values like a "SELECT" with "Where", for exemple, below

listaHinos.ItemsSource = await con.Table<hinos>("WHERE X = 1").ToListAsync();

is it possible fill it ?

Aucun commentaire:

Enregistrer un commentaire