<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddSubjectOfSimpleAnswer.aspx.cs" Inherits="Admin_Subject_AddSubjectOfSimpleAnswer" ValidateRequest="false" %>

<!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">
        .style1
        {
            text-align: right;
            background-color: dimgray;
            color: White;
            border-right: white 1px solid;
            border-top: white 1px solid;
            border-left: dimgray 1px solid;
            border-bottom-width: 0px;
            width: 151px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
<div class="listAddLink">
        <a href="javascript:history.back();">返 回</a></div>
    <table cellpadding="0" cellspacing="0" class="form" width="800px">
        <tr>
            <td align="left" class="formName" colspan="2">
                <span style="margin-left:10px">添加简答题</span>
            </td>
        </tr>
          <tr>
            <td class="titleName" style="width: 200px;">
                题型分类：</td>
            <td class="inputArea" style="width: 598px">
                <asp:DropDownList ID="drpSubjectTypeCategory" runat="server" 
                    DataSourceID="objSubjectTypeCategory" DataTextField="CateName" 
                    DataValueField="CateID">
                </asp:DropDownList>
                 <a href="AddSubjectTypeCategory.aspx?subjectType=5">添 加</a>
            <asp:ObjectDataSource ID="objSubjectTypeCategory" runat="server" 
        SelectMethod="GetListBySubjectType" TypeName="BLL.BLLSubjectTypeCategory">
        <SelectParameters>
            <asp:Parameter DefaultValue="5" Name="subjectType" Type="Object" />
        </SelectParameters>
    </asp:ObjectDataSource>
            </td>
        </tr>
        <tr>
            <td class="titleName">
                <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*"></asp:Label>
                试题： 
            </td>
            <td class="inputArea" style="width: 598px">
                <asp:TextBox ID="txtQuestion" runat="server" Width="600px" Height="100px" 
                    TextMode="MultiLine"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtQuestion" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="titleName">
                <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*"></asp:Label>
                答案： 
            <td class="inputArea" style="width: 598px">
                <asp:TextBox ID="txtAnswer" runat="server" Height="150px" 
                    Width="600px" TextMode="MultiLine"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtAnswer" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="submitArea" colspan="2">
                <span style="margin-right:10px">
                <asp:Button ID="btnSubmit" runat="server" CssClass="btn" Text="保 存" 
                    Width="80px" onclick="btnSubmit_Click" />
                </span>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
