<asp:DataList runat="server" id="DataList1"
DataSourceID="spDataSource1">
<HeaderTemplate>
<span
style="font-style:italic; color:#181818">
<asp:Label
ID="lblEmpty" Text="No Events" runat="server" Visible='<%#
DataList1.Items. Count==0 %>'/>
</span>
</HeaderTemplate>
<ItemTemplate>
<p>
...
</p>
</ItemTemplate>
</asp:DataList>
No comments:
Post a Comment