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

<!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" />
    <style type="text/css">
        .divContent
        {
             overflow:auto;
              width:300px;
              height:50px;
              margin:5px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
      <div class="listAddLink">
                    <a href="AddSubjectOfSimpleAnswer.aspx">添加题目</a></div>
                <div class="listTop">
                    <span class="title">简答题管理</span>
                </div>
               <asp:Repeater ID="rptSubjectOfSimpleAnswerList" runat="server" 
                  >
                <HeaderTemplate>
                     <table border="0" cellpadding="0" cellspacing="0" class="tableList" width="800">
                    <tr class="header">
                        <td >
                            问题</td>
                        <td class="style3">
                            答案</td>
                            <td>分类</td>
                        <td style="width:50px;">
                            操 作</td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                     <tr class="body">
                        <td >
                        <div style="width:20px;  float:left; margin:0;margin-top:5px;">(<%#Eval("ID") %>)</div>
                        <div class="divContent">
                          <%#Eval("Question") %>
                            </div></td>
                        <td class="style3">
                        <div class="divContent" style="color:Red">
                            <%# Eval("Answer") %>
                            </div></td>
                            <td><%#Eval("Category.CateName") %> &nbsp;</td>
                        <td>
                            <a href='DelSubject.aspx?subjectType=5&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>
