Link to home
Start Free TrialLog in
Avatar of olifarago
olifaragoFlag for United Kingdom of Great Britain and Northern Ireland

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
ASKER CERTIFIED SOLUTION
Avatar of BToson
BToson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of olifarago

ASKER

Perfect thanks