I am encountering the an error that is telling me that the server tag is not well formed for a label which is inside a DataList.
This is that part of that program having that error:
This is that part of that program having that error:
Code:
<asp:DataList ID="DataList1" runat="server" DataSourceID="XmlDataSource1"
RepeatColumns="1" style="margin-right: 0px">
<ItemStyle Font-Bold="True" Font-Italic="True" Font-Names="Times New Roman"
Font-Overline="False" Font-Size="Medium" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Justify" VerticalAlign="Bottom" />
<ItemTemplate>
<a href="#" class="mySprite id<%# ((int)DataBinder.Eval(Container,"ItemIndex")) % 6 + 1%>">
<asp:Label ID="Label5" runat="server" Text="<%# Name %>"></asp:Label>
<asp:TextBox ID="TextBox8" runat="server" Text="<%# XPath("Name") %>"></asp:TextBox>
<br />
<asp:Label ID="Label6" runat="server" Text="<%# City %>"></asp:Label>
<asp:TextBox ID="TextBox9" runat="server" Text="<%# XPath("City") %>"></asp:TextBox>
<br />
<asp:Label ID="Label7" runat="server" Text="<%# Age %>"></asp:Label>
<asp:TextBox ID="TextBox6" runat="server" Text="<%# XPath("Age") %>"></asp:TextBox>
<br />
<br />
</ItemTemplate>
</asp:DataList>
Comment