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

<%@ 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%"><asp:CheckBox ID="CheckBox2" runat="server" 
            AutoPostBack="True" oncheckedchanged="CheckBox2_CheckedChanged" Text="全选" />
        </span>
        <img height="14" src="../images/001.gif" width="14" />
        <asp:LinkButton ID="lbadd" runat="server" PostBackUrl="chengjiadd.aspx" Text="新增">新增</asp:LinkButton>
        <img height="14" src="../images/010.gif" width="14" />
        <asp:LinkButton ID="lbdel" runat="server" onclick="LinkButton1_Click" 
            OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
        &nbsp;&nbsp;<img alt="" src="../images/excel.gif" style="width: 16px; height: 16px" />&nbsp;<asp:HyperLink ID="hlnkin" runat="server" NavigateUrl="stuinto.aspx">导入</asp:HyperLink>&nbsp; <img alt="" src="../images/excel.gif" style="width: 16px; height: 16px" /><asp:LinkButton 
                        ID="lbtnOut" runat="server" onclick="lbtnOut_Click">导出</asp:LinkButton>&nbsp;</td>
            </tr>
        </table>
		        <table align="center" 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> 姓名</td>
                            &nbsp;<td align="left">
                <asp:TextBox ID="txtxm" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            班次</td>
                        <td align="left">
                <asp:DropDownList ID="ddlbanci" runat="server" AppendDataBoundItems="true">
                    <asp:ListItem Value="">不限</asp:ListItem>
                </asp:DropDownList>
                        </td>
             <td> 学员级别</td>
                        <td align="left">
                <asp:RadioButtonList ID="rbljibie" runat="server" RepeatDirection="Horizontal" 
                    RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="">不限</asp:ListItem>
                    <asp:ListItem>普通</asp:ListItem>                    
                    <asp:ListItem>VIP</asp:ListItem>
                </asp:RadioButtonList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td align="right">
                            报名日期</td>
                        <td align="left">
                            <asp:TextBox ID="txtbaoming1" runat="server" onfocus="WdatePicker()"></asp:TextBox>至<asp:TextBox ID="txtbaoming2" runat="server" onfocus="WdatePicker()"></asp:TextBox>当前状态</td>
                            <td align="left">
            <asp:DropDownList ID="ddlthislc" runat="server" AppendDataBoundItems="true">
            <asp:ListItem Value="">不限</asp:ListItem>
            </asp:DropDownList>
                                                        </td>
                        <td>
                            &nbsp;</td>
                        <td align="left">
                            &nbsp&nbsp;</td>
                        <td align="left">
        <span class="center_title_1">
                            <asp:Button ID="btnSel" runat="server" Text="搜索" onclick="btnSel_Click" />
                            <asp:Label ID="lblmsg" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    </table>
		<br>
					<asp:GridView ID="gdv" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False"
                        CssClass="sys_grid"  OnSorting="gdv_Sorting" OnRowDeleting="gdv_RowDeleting" 
              Width="100%" EmptyDataText="没有或没有符合条件的学生信息！">
                        <HeaderStyle CssClass="sys_grid_head_cell"/>
                        <Columns>
                            <asp:TemplateField HeaderText="全选">
                            <ItemTemplate>
                             <asp:CheckBox ID="CheckBox1" runat="server" />
                            </ItemTemplate>
                            </asp:TemplateField>
                             <asp:TemplateField HeaderText="姓名">
                            <ItemTemplate><a href="../student/stuview.aspx?id=<%#Eval("stuid") %>"><%#Eval("stuxm").ToString() %></a>
                            </ItemTemplate></asp:TemplateField>                           
                            <asp:BoundField DataField="ruku" HeaderText="倒车入库" SortExpression="ruku" />  
                            <asp:BoundField DataField="cefang" HeaderText="侧方停车" SortExpression="cefang" />                              
                            <asp:BoundField DataField="zhijiao" HeaderText="直角拐弯" SortExpression="zhijiao" />                              
                            <asp:BoundField DataField="quxian" HeaderText="曲线行驶" SortExpression="quxian" />  
                            <asp:BoundField DataField="banpo" HeaderText="半坡起步" SortExpression="banpo" />                              
                            <asp:BoundField DataField="keerzong" HeaderText="科二综合" SortExpression="keerzong" />                               
                            <asp:BoundField DataField="kesanzong" HeaderText="科三综合" SortExpression="kesanzong" />  
                            <asp:BoundField DataField="keerji" HeaderText="科二计算" SortExpression="keerji" />                              
                            <asp:BoundField DataField="kesanji" HeaderText="科三计算" SortExpression="kesanji" />   
                            <asp:TemplateField HeaderText="编辑" >
                        <ItemTemplate>
                            <a href="chengjiadd.aspx?id=<%#Eval("id") %>">编辑</a>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除成绩吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; " 
                        HeaderText="删除" ShowCancelButton="False" ShowDeleteButton="True"/>                            
                        </Columns>                        
                        <PagerSettings Visible="False" />
                        <RowStyle HorizontalAlign="Center" Height="25px" />
                    </asp:GridView>
                    </TD>
				</TR>
				<TR>
					<TD vAlign="top">
						<INPUT id="hd" type="hidden" name="hd" runat="server">
                        <uc2:fenye ID="fenye1" runat="server" />
</form>
	</body>
</HTML>

