摘要:
如果在ASP.NET中应用了Repeater、Gridview,想获取到行的序号,很简单,使用Container.ItemIndex即可。在Gridview中使用取得当前行的序号而在Repeater控件中使用Container.ItemIndex取得当前行的序号,主要格式, Container.ItemIndex 用于绑定中的。看例子: 阅读全文
posted @ 2014-01-02 10:57
wanshutao
阅读(1199)
评论(1)
推荐(0)

浙公网安备 33010602011771号