olifarago
asked on
Four Columns in a DataTable need to be randomly assigned to four labels VB.NET
Hi,
My problem is probably really simple and is as follows.
I have a data table full of questions.
They are in the following columns: ID, Question, CorrectAnswer, Incorrect1, Incorrect2, Incorrect3
It is for a multiple choice quiz.
I have four labels in a form: lblQ1, lblQ2, etc.
I need to randomly assign the location of my correct answer and then my incorrect answers.
I then need to be able to validate if the selected answer was the correct answer.
Any help much appreciated.
thanks,
Oli
My problem is probably really simple and is as follows.
I have a data table full of questions.
They are in the following columns: ID, Question, CorrectAnswer, Incorrect1, Incorrect2, Incorrect3
It is for a multiple choice quiz.
I have four labels in a form: lblQ1, lblQ2, etc.
I need to randomly assign the location of my correct answer and then my incorrect answers.
I then need to be able to validate if the selected answer was the correct answer.
Any help much appreciated.
thanks,
Oli
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER