Accessing the index of the iterator in a repeater

  • Thread starter Thread starter Ashutosh Bhalerao
  • Start date Start date
A

Ashutosh Bhalerao

Hi all,

I have bound an Arraylist of Objects to a repeater.

All the items from the Object display fine on the screen.

Now I need the current index being bound inside the <ItemTemplate>
</ItemTemplate>. If the zeroth element is being bound then I need to
display 0 in a column, if the first element is being bound then I want
to display 1 in the column and so on.

Is there a property available which will allow me to get his index?
How do I go about doing this? Any help is appreciated.

Thanks in advance.

Rgds,
Ashu
 
Back
Top