<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SubjectOfSingleSelectionList.aspx.cs" Inherits="Admin_Subject_SubjectOfSingleSelectionList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单选题</title>
    <link href="../../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
       <div class="listAddLink">
                    <a href="AddSubjectOfSingleSelection.aspx">添加题目</a></div>
                <div class="listTop">
                    <span class="title">单选题管理</span>
                </div>
               <asp:Repeater ID="rptSubjectOfSingleSelectionList" runat="server" 
                    >
               <HeaderTemplate>
                     <table border="0" cellpadding="0" cellspacing="0" class="tableList" width="800">
                    <tr class="header">
                        <td class="style2">
                            问题和答案</td>
                            <td>分类</td>
                        <td style="width:150px;">
                            操 作</td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                     <tr class="body">
                        <td >
                        <b>
                         (<%#Eval("ID")%>)  <%#Eval("Question") %> (<span style="color:Red;"><%# Eval("Answer") %></span>)
                         </b><br />
                           <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tableList2">
                           <tr align="left"><td style="width:50%">A:<%#Eval("SelectA") %></td><td>B:<%#Eval("SelectB") %></td></tr>
                            <tr align="left"><td style="width:50%">C:<%#Eval("SelectC") %></td><td>D:<%#Eval("SelectD") %></td></tr>
                           </table>
                            </td>
                            <td><%#Eval("Category.CateName") %> &nbsp;</td>
                        <td>
                          <a href='DelSubject.aspx?subjectType=3&subjectID=<%#Eval("id") %>'>删除</a></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                     </table>
                </FooterTemplate>
               </asp:Repeater>
                <div class="listBottom">
                    <asp:Label ID="lblPageUrl" runat="server" Text="" ForeColor="White"></asp:Label>
       </div>
              
    </form>
</body>
</html>
