日期:2014-05-17 浏览次数:20566 次
<asp:Repeater ID="Repeater1" runat="server" onitemdatabound="Repeater1_ItemDataBound"> <ItemTemplate> <table style="text-align:left;width:800px"> <tr"> <asp:HiddenField ID="hf1" runat="server" Value='<%#Eval("题号")%>' /> <asp:HiddenField ID="hf2" runat="server" Value='<%#Eval("类型")%>' /> <asp:HiddenField ID="hf3" runat="server" Value='<%#Eval("题库")%>' /> <td style="width:10%"><h4><%#Eval("题号")%></h4></td> <td style="width:90%"><h4><%#Eval("内容")%></h4></td> </tr> <tr> <td></td> <td></td> </tr> <tr> <td style="width:10%"></td> <td style="width:90%"> <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" /> <asp:TextBox ID="TextBox3" runat="server" Visible="false" Width="90%"></asp:TextBox> </td> </tr> <tr> <td style="width:10%"></td> <td style="width:90%"> <asp:CheckBoxList ID="CheckBoxList1" runat="server" DataTextField="内容" DataValueField="选项" /> <asp:TextBox ID="TextBox4" runat="server" Visible="false" Width="90%"></asp:TextBox> </td> </tr> <tr> <td style="width:10%"></td> <td style="width:90%"> <asp:BulletedList ID="BulletedList1" runat="server" DataTextField="内容" /> <asp:TextBox ID="TextBox2" runat="server" Width="98%" Visible="false" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/[^0-9^,]/g,'')}"/> </td> </tr> <tr> <td style="width:10%"><asp:Label ID="Label1" runat="server" Text="答案:" Visible="false"></asp:Label></td> <td style="width