How to Retrieve the next record after clicking the next button

Posted by Iluvdotnetfunda under Sql Server on 3/17/2012 | Points: 10 | Views : 2060 | Status : [Member] | Replies : 5
Hi ,

Special Day.

Please help me to get the next record in my table after clicking the next button.

Thanks
Manni




Responses

Posted by: Patel28rajendra on: 3/17/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

Do you have used grifview to display record ?



R D Patel

Iluvdotnetfunda, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Iluvdotnetfunda on: 3/17/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

No we don't have any grid view to display. Here we are working for Quiz application So one Question autoId we given statically, Now we want to move next Question in the table by pressing Next button after answering that question we want move to next question by pressing Next button like this we want So how to write Query for move to next record.

Thanks.

Iluvdotnetfunda, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/17/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

Questions are generated statically or dynamically?


R D Patel

Iluvdotnetfunda, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Iluvdotnetfunda on: 3/17/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

they are generated dynamically.

Thanks

Manni

Iluvdotnetfunda, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/17/2012 [Member] Silver | Points: 25

Up
0
Down
Hi,
Firsttime when you load page pass a value i.e 1 to get first record
on subsequenct next button click increment the last value by adding 1.


Thanks,
Sanjay

Iluvdotnetfunda, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response