给DataList每五条数据加一个样式
摘要:
protected void dtSituation_ItemDataBound(object sender, DataListItemEventArgs e) { if ((e.Item.ItemIndex + 1) % 5 == 0) { Literal lit = new Literal(); lit.Text = "<hr style='border:2px dotted gray;... 阅读全文
posted @ 2010-07-01 13:45 悟生慧 阅读(193) 评论(0) 推荐(0) 编辑