<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="newstudentsearchlist.aspx.cs" Inherits="Us.Web.admin.student.newstudentsearchlist" %>


<%@ 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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />

    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>
   
    <script language="javascript" type="text/javascript" >

        $(document).ready(function () {
            $("#txtInd").focus();
            GoKeySearch();
        });

        


    </script>
</head>
<body>
    <form id="Form1" method="post" runat="server">
       <%-- 
        
        --%>
        <object classid="clsid:10946843-7507-44FE-ACE8-2B3483D179B7"
            id="CVR_IDCard" name="CVR_IDCard" width="0" height="0">
        </object>
        <div class="divTbg">
            <div class="divTbgL">
            </div>
            <div class="divTbgInfo">
                <div class="divTbgTitle">
                    学生综合信息查询
                </div>
            </div>
        </div>
        <div class="divTbgF">
        </div>
        <div class="divSearchBoth">
            <div class="divInfo">
                <div class="divInfoblack">
                    <div class="divInfoTopList">
                        <div class="listLeft">
                            <div class="navsearchtitle">学生搜索</div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="divInfo">
                <div class="divSearch">
                    <div id="searchBox" class="clearsearch">
                        <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>
                            <label for="txtInd">
                                证件号码：</label>
                            <asp:TextBox ID="txtInd" runat="server"></asp:TextBox>
                        </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:DropDownList>
                        </p>
                        <p>
                            <label for="drpSkyCID">
                                隶属班级：</label>
                            <asp:DropDownList ID="drpSkyCID" runat="server">
                            </asp:DropDownList>
                        </p>




                        <p>
                            <label for="drpSState">
                                学生状态：</label><asp:DropDownList ID="drpSState" runat="server">
                                    <asp:ListItem Value="SState">code</asp:ListItem>
                                </asp:DropDownList>
                        </p>








                        <p style="display: none">
                            <label for="drpSZhuce">
                                是否注册：</label>
                            <asp:DropDownList ID="drpSZhuce" runat="server">
                                <asp:ListItem Value="SysIsSelect">code</asp:ListItem>
                            </asp:DropDownList>
                        </p>
                        <p style="display: none">
                            <label for="drpSIsPayment">
                                是否缴费：</label>
                            <asp:DropDownList ID="drpSIsPayment" runat="server">
                                <asp:ListItem Value="SysIsSelect">code</asp:ListItem>
                            </asp:DropDownList>
                        </p>
                        <p>
                            <label for="drpUState2013">
                                用户状态：</label><asp:DropDownList ID="drpUState2013" runat="server">
                                    <asp:ListItem Value="UState2013">codeselect</asp:ListItem>
                                </asp:DropDownList>
                        </p>
                        <p>
                            <label for="drpSGrade">
                                年级：</label>
                            <asp:DropDownList ID="drpSGrade" runat="server" >
                                        <asp:ListItem Value="years">code</asp:ListItem>
                                    </asp:DropDownList>
                        </p>
                        <p id="searchSubmit">
                            <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="确认搜索" CssClass="SkyButtonFocus" />
                            <input type="button" name="btnShow" value="读取身份证" id="btnShow" class="SkyButtonFocus" onclick="HSCardReadSearch();"
                                title="请在IE内核的浏览器下使用本功能，其他浏览器暂不支持，可以通过快捷键Ctrl+Alt进行快速读取身份证信息；" />
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <div class="divInfo">
            <div class="divInfoblack">
                <div class="divInfoTopList">
                    <div class="listLeft">
                        <div class="navtitle">学生列表</div>
                    </div>
                    <div class="listRight">
                        <ul>
                            <li class="navstyle1">
                                <input type="checkbox" name="chkselect" id="chkselect" onclick="skySelectCheckList();" />
                                <label for="chkselect">全选</label>
                            </li>
                            <li class="navstyle2">
                                <asp:LinkButton ID="LnkBAdd" runat="server" OnClick="SkyLnkBAMD_Click">添加</asp:LinkButton>
                            </li>
                            <li class="navstyle3">
                                <asp:LinkButton ID="LnkBEdit" runat="server" OnClick="SkyLnkBAMD_Click" Enabled="false">编辑</asp:LinkButton>
                            </li>
                            <li class="navstyle4">
                                <asp:LinkButton ID="LnkBDelete" runat="server" OnClick="SkyLnkBAMD_Click">删除</asp:LinkButton>
                            </li>
                            <li class="navstyle5">
                                <asp:LinkButton ID="LnkBExcel" runat="server" OnClick="SkyLnkBAMD_Click">导出</asp:LinkButton>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="divInfo">
            <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="tablist"
                HorizontalAlign="Center"  >
                <RowStyle CssClass="tablisttr" HorizontalAlign="Center" />
                <HeaderStyle HorizontalAlign="Center" CssClass="tablisttitle"></HeaderStyle>
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="序号">
                        <ItemStyle CssClass="itemStyle1" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="选择">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkSelect" runat="server" ToolTip='<%# Bind("ID")%>' />
                        </ItemTemplate>
                        <ItemStyle CssClass="itemStyle2" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="UserID" HeaderText="学生编号" />
                    <asp:BoundField DataField="UserName" HeaderText="学生姓名" />
                    <asp:BoundField DataField="SSexName" HeaderText="学生性别" />
                    <asp:BoundField DataField="SkyDName" HeaderText="隶属院系" />
                    <asp:BoundField DataField="SkyPName" HeaderText="隶属专业" />
                    <asp:BoundField DataField="SkyCName" HeaderText="隶属班级" ItemStyle-Width="80" />
                    <asp:BoundField DataField="SStateName" HeaderText="学生状态" />

                    <asp:BoundField DataField="SkyTeacherName" HeaderText="班主任" />

                    <asp:BoundField DataField="UState2013Name" HeaderText="用户状态" />


                    <asp:BoundField DataField="SJTypeName" HeaderText="证件名称" />
                    <asp:BoundField DataField="SInd" HeaderText="证件号码" />
                    <asp:BoundField DataField="SPTel" HeaderText="个人电话" />


                     <%--<asp:BoundField DataField="SZhuceName" HeaderText="是否注册" ItemStyle-CssClass="fontred" />
                     <asp:BoundField DataField="SIsPaymentName" HeaderText="是否缴费"  ItemStyle-CssClass="fontgreen"/>
                     <asp:BoundField DataField="ACountName" HeaderText="是否异动"  ItemStyle-CssClass="fontgreen"/>--%>

                    <asp:TemplateField HeaderText="操作">
                                <ItemTemplate>
                          <%#UsToolArtUrl("/admin/student/newstudentmanage.aspx" +"?id="+Eval("id").ToString()+"&action=view", "[基本信息]",pDefault.sSize)%>
                          <%#UsToolArtUrl("/admin/student/newstudentsearchmanage.aspx" +"?id="+Eval("id").ToString(), "[高级信息]",pDefault.sSize)%>
                          <%#UsToolArtUrlNoPage("/admin/student/newstudentword.aspx" +"?id="+Eval("userid").ToString(), "[学籍]",pDefault.sSize)%>


                   <%-- 特瑞用的 <%#UsToolArtUrlNoPage("/admin/extreg/extstudentregistrationexport.aspx" +"?stype=2&id="+Eval("id").ToString(), "[学员卡]",pDefault.sSize)%>--%>

                                  <%--  <%#UsToolArtUrl("/admin/student/gxtknewstudentmanage.aspx" +"?id="+Eval("id").ToString(), "[修改]",pDefault.sSize)%>
                                    <%#UsToolArtUrlNoPage("/admin/student/gxtkstudentword.aspx" +"?id="+Eval("userid").ToString(), "[学籍]",pDefault.sSize)%> --%>
                                </ItemTemplate>
                            </asp:TemplateField>
 

                </Columns>
            </asp:GridView>
        </div>
        <div class="divInfoColor">
             
                        <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" OnPageChanged="Pager_PageChanged"
                            ShowCustomInfoSection="Left" ShowPageIndexBox="Always" ShowPageIndex="False"
                            CustomInfoHTML="共 <B>%PageCount%</B> 页，当前为第 <B>%CurrentPageIndex%</B> 页，每页 <B>%PageSize%</B> 条"
                            SubmitButtonText="" FirstPageText="首页" LastPageText="尾页" LayoutType="Table" NextPageText="后一页"
                            PrevPageText="前一页" ShowMoreButtons="False" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到"
                            CustomInfoTextAlign="Left" HorizontalAlign="Right">
                        </webdiyer:AspNetPager>
                    
        </div>

        <asp:Literal ID="LiteralScript" runat="server" EnableViewState="False"></asp:Literal>

    </form>
</body>
</html>
