tags:

views:

40

answers:

2

There's this line of code inside of some repeater's ItemDataBound event that includes e.Item.ItemIndex..Now I get it that ItemIndex is the index of the item in the list..

What's "e" and "Item" here ? Actually I do have an idea. Just want to be more clear. Could someone please tell me in simple terms ? Thanks.

+3  A: 

e is an instance of RepeaterItemEventArgs Class and Item is RepeaterItemEventArgs.Item Property

astander
Where is this "e" declared ?
Serenity
It is a parameter that is passed into the called method.
astander
+2  A: 

It is an instance of the RepeaterItemEventArgs class. For a better understand of databinding, see the article Mastering ASP.NET DataBinding.

Garett
thnx for the link
Serenity