How to create a three column table in ASP.Net Repeater

前端 未结 6 647
无人共我
无人共我 2020-12-03 17:01

I would like to be able to use the ASP.Net Repeater control to create an HTML Table that has three columns and as many rows as necc.

For example if the Data were to

6条回答
  •  失恋的感觉
    2020-12-03 17:46

    
       
           
           <%# (Container.ItemIndex + 3) % 3 == 0 ? "" : string.Empty%>
               
           <%# (Container.ItemIndex + 3) % 3 == 2 ? "" : string.Empty%>
       
           

提交回复
热议问题