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

<%@ 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="411px">
                    </asp:SiteMapPath>
    </div>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr align="right">
                <td  width="95%">
        &nbsp;&nbsp;&nbsp;&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 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 align="right"> 姓名</td>
                            &nbsp;<td align="left">
                <asp:TextBox ID="txtxm" runat="server"></asp:TextBox>
                        </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="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="right">报考车型</td>
                            <td align="left">
                <asp:DropDownList ID="ddlchexing" runat="server" AppendDataBoundItems="true">
                <asp:ListItem Value="">请选择车型</asp:ListItem>
                    
                </asp:DropDownList>
                        </td>
                        <td align="right">
                            缴费情况</td>
                        <td align="left">
                <asp:RadioButtonList ID="rblischuli" runat="server" RepeatDirection="Horizontal" 
                    RepeatLayout="Flow">
                    <asp:ListItem Value="0" Selected="True">未缴费</asp:ListItem>                    
                    <asp:ListItem Value="1">已缴费</asp:ListItem>
                </asp:RadioButtonList>
                            </td>
                    </tr>
                    
                    <tr>
                        <td  colspan="6">
                            <span class="center_title_1">
                            <asp:Button ID="btnSel" runat="server" Text="搜索" onclick="btnSel_Click" />
                            </span>&nbsp&nbsp;<span class="center_title_1"><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" 
             Width="100%" EmptyDataText="没有或没有符合条件的学生信息！">
                        <HeaderStyle CssClass="sys_grid_head_cell"/>
                        <Columns>
                             <asp:BoundField DataField="fenxiao" HeaderText="分校" SortExpression="fenxiao" />                     
                            <asp:BoundField DataField="shijian" HeaderText="约考时间" SortExpression="shijian" DataFormatString="{0:yyyy-MM-dd}"/>
                            <asp:TemplateField HeaderText="姓名">
                            <ItemTemplate>
                            <a href="../student/stuview.aspx?id=<%#Eval("id") %>" target="_blank"><%#Eval("stuxm").ToString() %></a>
                            </ItemTemplate></asp:TemplateField>                       
                            <asp:BoundField DataField="card" HeaderText="身份证号" SortExpression="card" />  
                            <asp:BoundField DataField="tel" HeaderText="电话" SortExpression="tel" />  
                            <asp:BoundField DataField="leixing" HeaderText="报考类型" SortExpression="leixing" /> 
                            <asp:BoundField DataField="chexing" HeaderText="报考车型" SortExpression="chexing" /> 
                            <asp:BoundField DataField="kemu" HeaderText="补考科目" SortExpression="kemu" /> 
                            <asp:TemplateField HeaderText="缴费状态"><ItemTemplate>  
                             <%#Eval("ischuli").ToString()=="0"?"未缴费":"已缴费" %>   
                            </ItemTemplate></asp:TemplateField>
                            <asp:TemplateField HeaderText="缴费"><ItemTemplate>  
                            <a href="bukaofeiadd.aspx?stuid=<%#Eval("stuid").ToString()%>&lcid=<%#Eval("lcid").ToString()%>&stulcid=<%#Eval("id").ToString()%>">
                            缴补考费 </a>   
                            </ItemTemplate></asp:TemplateField>
                        </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" />
                    </TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>