<%@ page language="C#" autoeventwireup="true" inherits="Exam_ModifyQustion, App_Web_t61aasr1" stylesheettheme="Themes" theme="Themes" %>


<!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 id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>

    <script type="text/javascript" src="../Js/jquery.js"></script>

    <script type="text/javascript" src="../Js/jquery.pngFix.pack.js"></script>

    <script type="text/javascript" src="../Js/WebValidator.js"></script>

    <script type="text/javascript" src="../Js/InterfaceContrl.js"></script>

</head>
<body>
    <form id="form1" runat="server" >
    <table width="100%" cellpadding="0" cellspacing="0" class="table_3">
        <tr>
            <td class="nav_font">
                <img src="../Images/ico4.gif" />
                当前的位置： 试题和考试管理 &gt; 试题库维护 &gt; 批量修改
            </td>
        </tr>
    </table>
    <div align="left">
        <table width="100%" border="0" cellpadding="5" cellspacing="1">
            <tr bgcolor="white">
                <td align="right">
                    难度：
                </td>
                <td align="left" style="background-color: White;">
                    <asp:DropDownList ID="ddlDifficulty" runat="server" Width="100px" AppendDataBoundItems="True">
                        <asp:ListItem Value="0">请选择</asp:ListItem>
                        <asp:ListItem Value="1">容易</asp:ListItem>
                        <asp:ListItem Value="2">普通</asp:ListItem>
                        <asp:ListItem Value="3">困难</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr bgcolor="white">
                <td align="right">
                    &nbsp;</td>
                <td align="left" style="background-color: White;">
                    <asp:DropDownList ID="ddlState" runat="server" Width="100px" 
                        AppendDataBoundItems="True" Visible="False">
                        <asp:ListItem Value="0">请选择</asp:ListItem>
                        <asp:ListItem Value="1">在用</asp:ListItem>
                        <asp:ListItem Value="2">停用</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr bgcolor="white">
                <td align="right">
                    分数：
                </td>
                <td align="left" style="background-color: White;">
                    <asp:TextBox ID="txtMark" runat="server" onblur="return mylosefocus();" 
                        MaxLength="2"></asp:TextBox>
                    *如果您不想改变题的分数，请填写0，系统将不会修改题的分数。</td>
            </tr>
            <tr bgcolor="white">
                <td align="right">
                    &nbsp;
                </td>
                <td align="left" style="background-color: White;">
                    <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="批量修改" />
                    &nbsp;<asp:Button ID="btnReturn" runat="server" OnClick="btnReturn_Click" Text="返 回" />
                </td>
            </tr>
        </table>
    </div>
    <%--
                        </td>
                        <td width="0%" align="right" valign="top">
                            <img src="../images/right02.gif" width="4" height="134" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>--%>
    </form>
</body>

<script type="text/javascript">     
     function mylosefocus() {
         var txt = document.getElementById('<%=txtMark.ClientID %>').value;      
         var pattern = /^\d+$/;
         if (!pattern.exec(txt)) {
             alert("分数必须是数字");
             return false;
         }
         else {
             return true;
         }        
     }   
</script>

</html>
