有转发器显示问题和答案
正如
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound1" OnItemCommand="Repeater1_ItemCommand1">
<ItemTemplate>
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title" style="text-align: left">
<%# Eval("ExamQuestionsText")%> (Question Level <%# Eval("QuetionLevel")%>)
<asp:LinkButton ID="LinkButton1" CommandName="DeleteQuestion" CommandArgument='<%# Eval("QuestionID") %>' OnClientClick="return confirm('Are you sure you want to delete this Item?');" runat="server" ><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></asp:LinkButton>
<asp:LinkButton ID="Update" CommandName="Update" CommandArgument='<%# Eval("QuestionID") %>' runat="server" ><span class="glyphicon glyphicon-edit" aria-hidden="true"></span></asp:LinkButton>
</h3>
</div>
<div class="panel-body" style="text-align: left">
<asp:RadioButtonList ID="RadioButtonList1" runat="server"></asp:RadioButtonList>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
如何在没有foreach的情况下为正确的答案指定颜色?