<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="failedsearchstudent.aspx.cs" Inherits="School_Web.admin.score.failedsearchstudent" %>


<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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">
    <title>补考人数查询</title>

    <script language="javascript" src="/admin/js/SystemPage.js" type="text/jscript"></script>

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

    <script type="text/javascript" src="/admin/style/jquery/jquery_dialog.js"></script>

    <link type="text/css" rel="stylesheet" href="/admin/style/jquery/jquery_dialog.css" />
    <link href="../style/green/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="Form1" method="post" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <Triggers>
            <asp:PostBackTrigger ControlID="LnkBExcel" />
        </Triggers>
        <ContentTemplate>
            <div class="divTbg">
                <div class="divTbgL">
                </div>
                <div class="divTbgInfo">
                    <div class="divTbgTitle">
                        补考人数查询-按照学生汇总
                    </div>
                </div>
            </div>
            <div class="divTbgF">
            </div>
            <div class="divInfo">
                <div class="divInfoTop">
                    <div class="listLeft">
                        <ul>
                            <li>
                                <div>
                                    <img src="../style/green/images/search.gif" /></div>
                            </li>
                            <li>条件选择</li>
                        </ul>
                    </div>
                </div>
                <div class="divInfoContext">
                    <table width="100%" border="0" cellpadding="0" cellspacing="1" class="SkyTableLine">
                        <tr>
                            <td width="100" align="center" class="SkyTDTitle">
                                条件选择
                            </td>
                            <td class="SkyTDInfo">
                               <div id="searchBox" class="clearsearch">
                                    <p>
                                        <label for="drpSkyTID">
                                            开课学期：</label><asp:DropDownList ID="drpSkyTID" runat="server" AutoPostBack="True"
                                                OnSelectedIndexChanged="drpSkyTID_SelectedIndexChanged">
                                            </asp:DropDownList>
                                    </p>
                                    <p>
                                        <label for="drpSkyDID">
                                            开课院系：</label>
                                        <asp:DropDownList ID="drpSkyDID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyDID_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </p>
                                    <p>
                                        <label for="drpSkyPID">
                                            开课专业：</label>
                                        <asp:DropDownList ID="drpSkyPID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyPID_SelectedIndexChanged"><asp:ListItem Text="-请选择-" Value="-1"></asp:ListItem>
                                        </asp:DropDownList>
                                    </p>
                                    <p>
                                        <label for="drpSkyCID">
                                            开课班级：</label>
                                        <asp:DropDownList ID="drpSkyCID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyCID_SelectedIndexChanged"><asp:ListItem Text="-请选择-" Value="-1"></asp:ListItem>
                                        </asp:DropDownList>
                                    </p>
                                     <p>
                                        <label for="drpUserID">
                                            学生名称：</label><asp:DropDownList ID="drpUserID" runat="server" AutoPostBack="True"
                                                OnSelectedIndexChanged="drpUserID_SelectedIndexChanged"><asp:ListItem Text="-请选择-" Value="-1"></asp:ListItem>
                                            </asp:DropDownList>
                                    </p>
                                    <p>
                                        <label for="txtID">
                                            学生编号：</label><asp:TextBox ID="txtID" runat="server"></asp:TextBox></p>
                                     <p>
                                        <label for="txtName">
                                            学生名称：</label><asp:TextBox ID="txtName" runat="server"></asp:TextBox></p>
                                    <p id="searchSubmit">
                                        <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="确认搜索" CssClass="SkyButtonFocus" /></p>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="divInfo">
                <div class="divInfoTopList">
                    <div class="listLeft">
                        <ul>
                            <li>
                                <div>
                                    <img src="../style/green/images/index.gif" /></div>
                            </li>
                            <li>补考人数列表</li>
                        </ul>
                    </div>
                    <div class="listRight">
                        <ul>
                            <li>
                                <div>
                                    <asp:Literal ID="LSelectAll" runat="server" Text="全择"></asp:Literal>
                                </div>
                            </li>
                            <li class="listRightwidth">
                                <label for="checkSelect">
                                    全选</label>
                            </li>
                            <li>
                                <div>
                                    <img src="../style/default/tab/22.gif" width="14" height="14"></div>
                            </li>
                            <li class="listRightwidth">
                                <asp:LinkButton ID="LnkBAdd" runat="server" Enabled="False" OnClick="SkyLnkBAMD_Click">新增</asp:LinkButton>
                            </li>
                            <li>
                                <div>
                                    <img src="../style/default/tab/33.gif" width="14" height="14"></div>
                            </li>
                            <li class="listRightwidth">
                                <asp:LinkButton ID="LnkBModify" runat="server" Enabled="False" OnClick="SkyLnkBAMD_Click">修改</asp:LinkButton>
                            </li>
                            <li>
                                <div>
                                    <img src="../style/default/tab/11.gif" width="14" height="14">
                                </div>
                            </li>
                            <li class="listRightwidth">
                                <asp:LinkButton ID="LnkBDelete" runat="server" Enabled="False" OnClick="SkyLnkBAMD_Click">删除</asp:LinkButton>
                            </li>
                            <li>
                                <div>
                                    <img src="../style/default/tab/44.gif" width="14" height="14"></div>
                            </li>
                            <li class="listRightwidth">
                                <asp:LinkButton ID="LnkBExcel" runat="server" OnClick="SkyLnkBAMD_Click">导出</asp:LinkButton>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="divInfoContext">
                    <div style="font: 2px; line-height: 2px;">
                        &nbsp;</div>
                    <asp:GridView ID="gvInfo" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                        CellPadding="0" CellSpacing="1" GridLines="None" Width="100%" CssClass="Ntable"
                        HorizontalAlign="Center" OnRowDataBound="gvInfo_RowDataBound" OnRowCommand="gvInfo_RowCommand">
                        <RowStyle CssClass="SkyTDLine" HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" CssClass="SkyTDTopLine"></HeaderStyle>
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="序号" />
                            <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="chkSelect" runat="server" ToolTip='<%# Bind("UserID")%>' />
                                </ItemTemplate>
                                <ItemStyle CssClass="itemStyle2" /> 
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="开课学期" DataField="SkyTName" />
                            <asp:BoundField HeaderText="开课院系" DataField="SkyDName" />
                            <asp:BoundField HeaderText="开课专业" DataField="SkyPName" />
                            <asp:BoundField HeaderText="开课班级" DataField="SkyCName" />
                            <asp:BoundField HeaderText="班主任" DataField="SkyPLeader" />
                            <asp:BoundField HeaderText="学生学号" DataField="UserID" />
                            <asp:BoundField HeaderText="课学生名称" DataField="UserName" />
                            
                            <asp:BoundField HeaderText="补考课程数" DataField="IsMakeup" >
                                <ItemStyle ForeColor="Red" />
                            </asp:BoundField>
                            <asp:ButtonField HeaderText="查看" Text="[查看]" CommandName="view"></asp:ButtonField>
                        </Columns>
                    </asp:GridView>
                    <div class="divInfoRight">
                        <webdiyer:AspNetPager ID="Pager" runat="server" OnPageChanged="Pager_PageChanged"
                            ShowNavigationToolTip="True" AlwaysShow="True">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
            <asp:Literal ID="LiteralScript" runat="server" EnableViewState="False"></asp:Literal>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div id="divLoading">
                <img src="/admin/images/loading.gif" />
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    </form>
</body>
</html>
