Click here to Skip to main content
15,792,384 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello every one,
I have some records in data base. I want to display these records in simple form (e.g. in labels or textboxes).
I do not want to use any Data Control,
I need to show one record in each page then click Next Button to show second record in the same page (e.g: show quiz question in each page then click next to another question until finish records )
I used DataSet after retrieved from database
But I do not know to link this by Next Button in each time.
Please help me soon.
Updated 9-Jul-10 22:12pm

You need to store the answer internally (so that you can perform a check against the 'actual' answer later - once the quiz is complete). You can then move to the next record in the dataset and display it as the next question.
Share this answer
Just keep a track of the rowIndex of the Dataset.
On click of next, increment it by one and show the record of that rowindex of dataset.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900