<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="kesanchengji.aspx.cs" Inherits="jiaowu.jiaowu.kesanchengji" %>

<%@ Register src="../fenye.ascx" tagname="fenye" tagprefix="uc2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD id="HEAD1" runat="server">
		<title>用户列表</title>
		<link href="../css/table.css" rel="stylesheet" type="text/css" />
		
        <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
		 <script language="javascript" src="../js/common.js"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">	
		        <div class="place">
                    <asp:SiteMapPath ID="SiteMapPath1" runat="server" Height="27px" Width="309px">
                    </asp:SiteMapPath>
    </div>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr align="right">
                <td  width="95%">
        &nbsp;&nbsp;&nbsp;</td>
            </tr>
        </table>
		        <table class="line_table">
                    <tr>
                        <td align="right">
                            校区</td>
                        <td align="left">
              <asp:DropDownList ID="ddlfenxiao" runat="server" AppendDataBoundItems="true">
              <asp:ListItem Value="">不限</asp:ListItem>
              </asp:DropDownList>
                        </td>
                        <td style="text-align: right"> 姓名</td>
                            &nbsp;<td align="left">
                <asp:TextBox ID="txtxm" runat="server"></asp:TextBox>
                        </td>
                        <td style="text-align: right">
                            车型</td>
                        <td align="left">
                <asp:DropDownList ID="ddlchexing" runat="server" AppendDataBoundItems="true">
                <asp:ListItem Value="">请选择车型</asp:ListItem>
                    
                </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td align="right">
                            约考日期</td>
                        <td align="left">
                            <asp:TextBox ID="txtbaoming1" runat="server" onfocus="WdatePicker()"></asp:TextBox></td>
                            <td align="right">
                                科目成绩</td>
                        <td align="left">
                            <asp:RadioButtonList ID="rblisend" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="0">未录入</asp:ListItem>
                    <asp:ListItem  Value="2">通过</asp:ListItem>
                    <asp:ListItem Value="1">不通过</asp:ListItem>
                </asp:RadioButtonList>
                                                        </td>
                        <td align="right">
                            报考类型</td>
                        <td align="left">
                <asp:RadioButtonList ID="rblleixing" runat="server" RepeatDirection="Horizontal" 
                    RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="">不限</asp:ListItem>
                    <asp:ListItem>初次</asp:ListItem>
                    <asp:ListItem>增驾</asp:ListItem>
                </asp:RadioButtonList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td align="center" colspan="6">
                             <asp:Button ID="btnSel" runat="server" Text="搜索" onclick="btnSel_Click" />
                             <asp:Label ID="lblmsg" runat="server" Text=""></asp:Label></td>
                    </tr>
                    </table>
					<asp:GridView ID="gdv" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False"
                        CssClass="sys_grid"  OnSorting="gdv_Sorting" 
              Width="100%" EmptyDataText="没有或没有符合条件的学生信息！">
                        <HeaderStyle CssClass="sys_grid_head_cell"/>
                        <Columns>
                            <asp:TemplateField HeaderText="全选">
                            <ItemTemplate>
                             <asp:CheckBox ID="CheckBox1" runat="server" />
                            </ItemTemplate>
                            </asp:TemplateField>
                             <asp:BoundField DataField="fenxiao" HeaderText="分校" SortExpression="fenxiao" />                    
                            <asp:BoundField DataField="baoming" HeaderText="报名时间" SortExpression="baoming" DataFormatString="{0:yyyy-MM-dd}"/>
                             <asp:TemplateField HeaderText="姓名">
                            <ItemTemplate><a href="../student/stuview.aspx?id=<%#Eval("id") %>"><%#Eval("stuxm").ToString() %></a>
                            </ItemTemplate></asp:TemplateField>                           
                            <asp:BoundField DataField="card" HeaderText="身份证号" SortExpression="card" /> 
                            <asp:BoundField DataField="chexing" HeaderText="车型" SortExpression="chexing" />                              
                            <asp:BoundField DataField="tel" HeaderText="电话" SortExpression="tel" />  
                             <asp:TemplateField HeaderText="状态"><ItemTemplate>  
                             <%#xxsoft_user.userclass.strzt(Eval("lcid").ToString())%>   
                            </ItemTemplate></asp:TemplateField>
                            <asp:TemplateField HeaderText="教练">
                            <ItemTemplate>
                            <%#Eval("teaxm") %>
                            </ItemTemplate>
                            </asp:TemplateField>  
                            <asp:TemplateField HeaderText="代办">
                            <ItemTemplate>
                            <%#Eval("daiban") %>
                            </ItemTemplate>
                            </asp:TemplateField>                              
                        </Columns>                        
                        <PagerSettings Visible="False" />
                        <RowStyle HorizontalAlign="Center" Height="25px" />
                    </asp:GridView>
                        <uc2:fenye ID="fenye1" runat="server" />
                        <div align="center">
                    <asp:CheckBox ID="CheckBox2" runat="server" 
            AutoPostBack="True" oncheckedchanged="CheckBox2_CheckedChanged" Text="全选" />
		            &nbsp;
		            所选学员科目一考试状态为：<asp:RadioButtonList ID="rbllcid" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="32">通过</asp:ListItem>
                    <asp:ListItem Value="31">不通过</asp:ListItem>
                </asp:RadioButtonList>&nbsp;<asp:Button 
                        ID="btndo1" runat="server" Text="批量设置" onclick="btndo1_Click" /></div>
                &nbsp;&nbsp;&nbsp;&nbsp;
            </form>
	</body>
</HTML>


