Beginner question about e.Item.ItemIndex
There's this line o开发者_开发问答f 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.
e is an instance of RepeaterItemEventArgs Class and Item is RepeaterItemEventArgs.Item Property
It is an instance of the RepeaterItemEventArgs class. For a better understand of databinding, see the article Mastering ASP.NET DataBinding.
精彩评论