Dear All,
I have one unordered list and list items and i want to bind in the repeater control for options a, b, c, d, e.
I want to bind the UL in the Repeater using Eval.
This is the ordered list.
<ul>
<li>11</li>
<li>22</li>
<li>33</li>
<li>44</li>
<li>55</li>
</ul>
Reapeater:
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<asp:Label ID="lbl_number" runat="server" CssClass="fa fa-question" Text='<%# Eval("QuestionNo") %>'></asp:Label>
<asp:Label ID="Label1" runat="server" Text=". "></asp:Label>
<asp:Label ID="lbl_question" runat="server" Text='<%# Eval("QuestionText") %>' ></asp:Label>
</ItemTemplate>
</asp:Repeater>
Thanks.