Unlike the DataGrid control (but more like the Repeater), you must supply at least a single HTML template in order to use the DataList control. As you saw in the previous section, you must supply layout information in the ItemTemplate. Creating templates for the DataList control is much like creating templates for the DataGrid control—it's up to you to supply the appropriate HTML within each DataList template to render the correct user interface. Although you only have to supply a single template, the DataList control supports all the templates shown in Table 19.3.
|AlternatingItemTemplate||If defined, this template provides ...|