What am I doing wrong...?
string entrydb = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "Entry.db"); var db = new SQLiteConnection(entrydb); var titles = db.Query<CreatedEntry>("SELECT Title FROM CreatedEntry"); //TitleViewList.Items.Add(Title); foreach (var s in titles) { TitleViewList.Items.Add(s.Title); }
Answers
Hi @Moose6 ,
What is the error you are receiving right now ?
Sample code from documentation.
var monkeyList = new List();
monkeyList.Add("Baboon");
monkeyList.Add("Capuchin Monkey");
monkeyList.Add("Blue Monkey");
monkeyList.Add("Squirrel Monkey");
monkeyList.Add("Golden Lion Tamarin");
monkeyList.Add("Howler Monkey");
monkeyList.Add("Japanese Macaque");
var picker = new Picker { Title = "Select a monkey", TitleColor = Color.Red };
picker.ItemsSource = monkeyList;
Try it. Thanks