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

前端 未结 6 674
无人共我
无人共我 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:55

    Repeater is not the ideal control to do that. If you're using .NET 3.5 you should use ListView instead. Here's an example that does what you're asking for.

    
    
       
          
    <%# Eval("FullName") %>

提交回复
热议问题