Im working on visual studio 2015 with Xamarin and SQLite and i was trying to get values from my database so i could save them in variables in my code how can i do this?
My Code:
string folder = "/sdcard/Pictures/";
var db = new SQLiteConnection(System.IO.Path.Combine(folder, "GameHubDB.db"));
db.CreateCommand("SELECT Id FROM [Note] WHERE Username = '" + UsernameTxt.Text + "' AND Password='" + PasswordTxt.Text + "'", Id);
db.Commit();