62,266
社区成员
发帖
与我相关
我的任务
分享<asp:Repeater ID="rpQuestion" runat="server">
<ItemTemplate>
<div id="content<%# Container.ItemIndex %>">
<%# (Container.ItemIndex + 1) % 2 != 0 ? "<Table><Tr><TD style='text-align: left;width:400px;'>" : ""%>
第<%# Container.ItemIndex + 1%>题:<%# Eval("Q_Name")%>:<span id="span<%# Container.ItemIndex %>"
style="color: Red;">未平!</span><asp:HiddenField ID="HiddenValue" runat="server" Value='<%# Eval("Q_Value") %>' />
<asp:RadioButtonList ID="rbtList_Question" runat="server">
</asp:RadioButtonList>
<%# (Container.ItemIndex + 1) % 2 != 0 ? "</TD><TD style='text-align: left;width:400px;'>" : ""%>
<%# (Container.ItemIndex + 1) % 2 == 0 ? "</TD></TR></TABLE><br />" : ""%>
</div>
</ItemTemplate>
</asp:Repeater>