Seems simple to me. If you are throwing out questions in the order they are in the database, then just fetch the next record from the database. If you want to get random questions, then you will need to use the random number generator to generate a random number less than the total number of questions. Then you can fetch that particular record number form the database.
Jeff K. Steinkamp N7YG Tucson, AZ SCUD Missile Coordinates: N032-13-55.02 W110-55-52.79 Registered Linux User: 420428 ------------------------------------------------------ Mrs. Uh-Huh-Wiggins! - Mike on secretary From: Samueldotnet Sent: Friday, November 26, 2010 11:18 To: DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting Subject: [DotNetDevelopment] problem hi. i am working on an IQ Test windows application and i need a logic for displaying a different question each time the user clicks the ok button.i'm using Sql server express database and a dataset for holding the qestions and the answers. need help urgently thanks.
