Let me explain my problem a little bit more.
I want to do some sort of dynamics reports. I use SQLite database with SQLite NET extension. I load query from xml file (this query can be anything from database). I want to load somehow result of this query to grid or listview.
Usually it'not problem because I "mapped" my data to an objects in model for example:
using (var db = new SQLiteConnection(new SQLite.Net.Platform.Generic.SQLitePlatformGeneric(), "zakupy.db"))
{
listPerson = db.Table<Persons>().Where(x => x.Property == "P" && x.Status == 0).ToList();
}
lstPersons.DataContext = listPerson;
Now I tried to do something like this:
using (var db = new SQLiteConnection(new SQLite.Net.Platform.Generic.SQLitePlatformGeneric(), "zakupy.db"))
{
var cc = db.Query<Table>("SELECT * from Events");
lstPersons.DataContext = cc.ToList();
}
But in grid I only see something like this:
