AlternatingItemTemplate类似于 ItemTemplate 元素

  

  

  

  BorderColor="black"

  CellPadding="3"

  Font-Name="Verdana"

  Font-Size="8pt">

  

  

  

  

  

  Items

  

  

  <%# DataBinder.Eval(Container.DataItem, "StringValue") %>

  

  

  

  


  RepeatDirection:

  

  Horizontal

  Vertical

  

  RepeatLayout:

  

  Table

  Flow

  

  RepeatColumns:

  

  1

  2

  3

  4

  5

  

  Show Borders:

  

  

  Text="Refresh DataList"

  OnClick="Button1_Click"

  runat="server"/>