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

<!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="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=1">添 加</a>
            <asp:ObjectDataSource ID="objSubjectTypeCategory" runat="server" 
        SelectMethod="GetListBySubjectType" TypeName="BLL.BLLSubjectTypeCategory">
        <SelectParameters>
            <asp:Parameter DefaultValue="1" Name="subjectType" Type="Object" />
        </SelectParameters>
    </asp:ObjectDataSource>
            </td>
        </tr>
        <tr>
            <td class="titleName" style="width: 200px;">
                <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*"></asp:Label>
                试题： 
            </td>
            <td class="inputArea" style="width: 598px">
                <asp:TextBox ID="txtQuestion" runat="server" CssClass="txtBlank" Width="500px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtQuestion" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="titleName" style="width: 200px; ">
                答案： 
            <td class="inputArea" style="width: 598px">
                <asp:TextBox ID="txtAnswer" runat="server" CssClass="txtBlank" Height="16px" 
                    Width="201px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="titleName" style="width: 200px; ">
                &nbsp;</td>
       &nbsp;</td>
            <td class="inputArea" style="width: 598px">
                <div class="tip">
                    <span class="content">1、填空处用（）表示，使用全角且中间没有空格，可以填多个（）例如：XXXX（）YYYY，（）KKKKKK<br />
                    2、多个答案时请用“,”隔开，例如：XXXX,YYYYY </span>
                </div>
            </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>
