On Tue, Mar 29, 2011 at 2:07 AM, Dexter cyclops <[email protected]> wrote: > The methods provided above will eventually repeat some questions.use d > random class,specify the range and store each value in a > collection.use d random value as row number while checking that it is > not in d collection so as to avoid repetition of question > > --
For me I randomly choose the Order by clause as I generate the script. Order by: ID DateEntered DateAccepted QuestionArea Question Answer You also take from that set a new starting point instead of first row, and put those removed rows to the bottom of this list. I do that voodoo in the display program. the name of that function is cutTheDeck( array Questions) I cannot give that out. -- Stephen Russell 901.246-0159 cell -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
