Hello Everyone and thanks for your help in advance. I have two questions
regarding the use of datalists. First, can paging be set up using
AllowPaging the same way as in a datagrid? Second, I am trying to use
AlternatingItem using the following code:
<asp:DataList id="MyDataList" runat="server">
<AlternatingItemStyle BackColor="#CCCC99"></AlternatingItemStyle>
<ItemTemplate>
<TR>
<TD align="left" valign="top" width="150"><%# Container.DataItem
("LastName") %>. <%# Container.DataItem("FirstName") %></TD>
<TD align="left" valign="top" width="150"><%# Container.DataItem
("Company") %></TD>
<TD align="left" valign="top" width="150"><%# Container.DataItem
("BusinessPhone") %></TD>
</TR>
</ItemTemplate>
</asp:DataList>
But it does not seem to work. Any help with these issues would be
greatly appreciated. Thanks.