Change repeater li item class if first or last

前端 未结 10 2140
时光说笑
时光说笑 2020-12-05 07:11

I\'m using repeater to create dynamic ul li list

Is it possible to control class whether item is first or last?

Something like:

class=\"<%         


        
10条回答
  •  粉色の甜心
    2020-12-05 07:19

    For those needing this in VB, here's what works for me.

    |
    

    I needed a divider to show for all items except for the last one.

提交回复
热议问题