I am trying to connect to a SQLite database and have a method that specifies a specific row from the database (the first column in the database is ID and is a primary key) then extract the information from a few other columns in that row and display them in text fields.
This will be used for a simple Trivia game I am making; I will later make a random method that will choose the row at random.
I have been struggling with this problem for several weeks and I have been through loads of tutorials but all of them deal with displaying the data in a table view, I want to display it simply on text fields in a View based app.
I am fairly confused at this point so any help starting from loading the database to displaying the data in the text fields would be GREATLY APPECIATED!
Thanks!
This will be used for a simple Trivia game I am making; I will later make a random method that will choose the row at random.
I have been struggling with this problem for several weeks and I have been through loads of tutorials but all of them deal with displaying the data in a table view, I want to display it simply on text fields in a View based app.
I am fairly confused at this point so any help starting from loading the database to displaying the data in the text fields would be GREATLY APPECIATED!
Thanks!