Incrementing Datagrid Value -- Simple Question

R

Ron

I have a Datagrid that is bound to a datasource. In the table, I have a
"Next" and a "Previous" button. When the user clicks either button, I want
to display the next or previous items. My question is this: How can I
increment/decrement the value that is being bound to the datagrid?

<a href='<%# DataBinder.Eval(Container.DataItem, "officeID",
"LeaseDetails.aspx?officeID={0}") %>

How can I increment the value for "officeID"?


Thanks,

Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,566
Members
47,202
Latest member
misc.

Latest Threads

Top