Click here to Skip to main content
15,901,122 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionrecord navigation Pin
Kissy167-Sep-06 21:30
Kissy167-Sep-06 21:30 
AnswerRe: record navigation Pin
_mubashir7-Sep-06 21:46
_mubashir7-Sep-06 21:46 
GeneralRe: record navigation Pin
Kissy167-Sep-06 22:02
Kissy167-Sep-06 22:02 
AnswerRe: record navigation Pin
Jay_se7-Sep-06 21:58
Jay_se7-Sep-06 21:58 
GeneralRe: record navigation Pin
Kissy167-Sep-06 22:23
Kissy167-Sep-06 22:23 
GeneralRe: record navigation Pin
Jay_se7-Sep-06 23:49
Jay_se7-Sep-06 23:49 
GeneralRe: record navigation Pin
Kissy168-Sep-06 0:04
Kissy168-Sep-06 0:04 
GeneralRe: record navigation Pin
Jay_se8-Sep-06 0:36
Jay_se8-Sep-06 0:36 
For that purpose u have to keep track of Current Record. ok. (ie)What is the Currrent Row Index, that should be kept in a variable.

I believe no need for looping through all the rows every time. Better to use, Select.. Case.

I think, u have used LinkButton Control to navigate Prev,Next record. Set the CommandArgument propery to some text, for example ,say 'prev' for navigating to previous record and 'next' for navigating to next record.

In the Click event of either link button, write a single event handler. In that use Select ...Case method, to find the particular 'CommandArgument' and Perform ur operation.

Thats all the idea. Smile | :)



Regards,

Jay

GeneralRe: record navigation Pin
King Shez8-Sep-06 1:01
King Shez8-Sep-06 1:01 
AnswerRe: record navigation Pin
Suresh Pirsquare8-Sep-06 0:46
Suresh Pirsquare8-Sep-06 0:46 
AnswerRe: record navigation Pin
Suresh Pirsquare8-Sep-06 0:50
Suresh Pirsquare8-Sep-06 0:50 
GeneralRe: record navigation Pin
Kissy168-Sep-06 1:03
Kissy168-Sep-06 1:03 
GeneralRe: record navigation Pin
Suresh Pirsquare8-Sep-06 1:05
Suresh Pirsquare8-Sep-06 1:05 
GeneralRe: record navigation Pin
Kissy168-Sep-06 1:20
Kissy168-Sep-06 1:20 
GeneralRe: record navigation Pin
Suresh Pirsquare8-Sep-06 1:43
Suresh Pirsquare8-Sep-06 1:43 
GeneralRe: record navigation Pin
Kissy1611-Sep-06 0:29
Kissy1611-Sep-06 0:29 
GeneralRe: record navigation Pin
Suresh Pirsquare11-Sep-06 19:10
Suresh Pirsquare11-Sep-06 19:10 
GeneralRe: record navigation Pin
Kissy1612-Sep-06 1:18
Kissy1612-Sep-06 1:18 
GeneralRe: record navigation Pin
Suresh Pirsquare12-Sep-06 1:28
Suresh Pirsquare12-Sep-06 1:28 
GeneralRe: record navigation Pin
Suresh Pirsquare12-Sep-06 2:21
Suresh Pirsquare12-Sep-06 2:21 
QuestionUsing SSL Certificate Pin
PriyamMalhotra7-Sep-06 21:15
PriyamMalhotra7-Sep-06 21:15 
Questioncapturing of starting and ending index of selected text Pin
nannapanenikamalnath7-Sep-06 19:38
nannapanenikamalnath7-Sep-06 19:38 
QuestionPost file in XAML Pin
pjc*7-Sep-06 19:11
pjc*7-Sep-06 19:11 
QuestionSave File in XAML Pin
pjc*7-Sep-06 19:08
pjc*7-Sep-06 19:08 
QuestionException handling Approach Pin
Amit Kumar G7-Sep-06 17:28
Amit Kumar G7-Sep-06 17:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.