I am learning VB and got stuck..I found nothing in books and tutorials.
I want to make simple quiz (100 questions), structure: 1 lbl = question, 3 radio buttons (answers) and 1 button(next question).
I added access database to DataSource, binded data to lbl and radio buttons, it automaticaly added the code:
'TODO: This line of code loads data into the 'VBtestasDataSet.answers' table. You can move, or remove it, as needed. Me.AnswersTableAdapter.Fill(Me.VBtestasDataSet.answers) 'TODO: This line of code loads data into the 'VBtestasDataSet.Questions' table. You can move, or remove it, as needed. Me.QuestionsTableAdapter.Fill(Me.VBtestasDataSet.Questions)
The form is loaded ok with the data I need but I can't write the code for the button "next" to load next row from database!
The question is: HOW TO LOAD NEXT ROW FROM ACCESS? I would appreciate if you could help me :) Thank you in advance.