Four Columns in a DataTable need to be randomly assigned to four labels VB.NET
Posted on 2008-11-06
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.