Using a DataTable to hold randomly generated values
Posted on 2004-08-09
I have developed a quiz that randomly generates questions from a bank of stored questions. Firstly, how can I make sure that each randomly generated question is unique. eg I dont want it to ask the same question more than once.
I had an Idea to store the selected questions in a temporary datatable and then at the end of the quiz to populate the selected questions to the database.
I realise this is quite a lot to ask and therefore would be very gratefull for appropriate feedback.
Thanks very much in advance