开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜