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

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>

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

    <style>
        html
        {
            overflow-x: hidden;
        }
    </style>
</head>

<script language="javascript">
    function CheckAll() {
        var cked = false;
        cked = document.getElementById("chkSelAll").checked;
        for (var i = 0; i < document.getElementsByTagName("*").length; i++) {
            var e = document.getElementsByTagName("*")[i];
            try {
                if (e.name.substring(e.name.length - 6, e.name.length) == "chkSel") {
                    e.checked = cked;
                }
            }
            catch (exception) {
            }
        }
    }
</script>

<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 class="box" align="right" style="background-color: #ffffff;">
        <table width="100%" cellpadding="5" cellspacing="0">
            <tr>
                <td>
                    <asp:Button ID="btnSecond" runat="server" OnClick="btnSecond_Click" Text="重新生成" />
                    &nbsp;<asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" />
                    &nbsp;<asp:Button ID="btnReturn" runat="server" OnClick="btnReturn_Click" Text="返 回" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvSameQuestion" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        OnRowCommand="gvSameQuestion_RowCommand" OnRowDataBound="gvSameQuestion_RowDataBound"
        DataKeyNames="CourseID,ThemaID">
        <PagerSettings Visible="False" />
        <Columns>
            <asp:BoundField DataField="Name" HeaderText="课程" />
            <asp:BoundField DataField="type" HeaderText="题目类型" />
            <asp:BoundField DataField="difficulty" HeaderText="难度" />
            <asp:BoundField DataField="question" HeaderText="考题" />
        </Columns>
        <EmptyDataTemplate>
            <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
        </EmptyDataTemplate>
        <EmptyDataRowStyle Font-Size="XX-Large" Font-Bold="true" ForeColor="Red" HorizontalAlign="Center" />
        <EditRowStyle Wrap="True" />
    </asp:GridView>
    <div class="page_bg_left">
        <cc1:AspNetPager ID="myAspNetPager" runat="server" AlwaysShow="True" CssClass="cut_pager" PageSize="10"
                                FirstPageText="首页&nbsp;&nbsp;" HorizontalAlign="Right" InputBoxStyle="width:20px;" 
                                LastPageText="尾页" NextPageText="&nbsp;&nbsp;下一页&nbsp;&nbsp;" NumericButtonTextFormatString="  {0}"
                                OnPageChanging="AspNetPager1_PageChanging" PrevPageText="上一页"  ShowCustomInfoSection="Left" CustomInfoTextAlign="Left"
                                ShowInputBox="Always">
                            </cc1:AspNetPager>
    </div>
    </form>
</body>
</html>
