If statement in repeaters ItemTemplate

前端 未结 5 716
眼角桃花
眼角桃花 2021-01-02 04:26

I\'m using an ASP.NET Repeater to display the contents of a

. It looks something like this:

5条回答
  •  借酒劲吻你
    2021-01-02 05:00

    If you're wanting to do something on every other item, use the alternating item template. http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.repeater.alternatingitemtemplate.aspx

提交回复
热议问题