I just want a simple i=i+1 type function in my repeater table, so that I can display the number of the record being displayed.
I could add this functionality to the stored procedure on the backend, but this causes problems when I want to allow the user to change the sorting properties on the front end. In other words, I want to be able to stick:
1.
2.
3.
in front of the items, no matter how they are sorted.
I had tried a <%#=Counter()#%> function that increments a page class int variable and then returns a string of it, but it didnt work.
This should be ez, but eludes me at the time. Thanks all,
HELJ
I could add this functionality to the stored procedure on the backend, but this causes problems when I want to allow the user to change the sorting properties on the front end. In other words, I want to be able to stick:
1.
2.
3.
in front of the items, no matter how they are sorted.
I had tried a <%#=Counter()#%> function that increments a page class int variable and then returns a string of it, but it didnt work.
This should be ez, but eludes me at the time. Thanks all,
HELJ