Incrementing Datagrid Value -- Simple Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ron

    Incrementing Datagrid Value -- Simple Question

    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.Data Item, "officeID",
    "LeaseDetails.a spx?officeID={0 }") %>

    How can I increment the value for "officeID"?


    Thanks,

    Ron


Working...