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

<%@ Register src="../fenye.ascx" tagname="fenye" tagprefix="uc3" %>

<!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>
    <link href="../css/table.css" rel="stylesheet">
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    
    <style type="text/css">
        .style2
        {
            width: 72%;
        }
    </style>
   <script src="../js/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="../layer/layer.js"></script>
    <script src="../js/common.js" type="text/javascript"></script>
    </head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="place">
        <asp:SiteMapPath ID="SiteMapPath1" runat="server" Height="27px">
        </asp:SiteMapPath>
        </div>
    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="style2">&nbsp;      </td>
<td width="40%">
      <asp:CheckBox ID="CheckBox2" runat="server" 
            AutoPostBack="True" oncheckedchanged="CheckBox2_CheckedChanged" Text="全选" />
        <img height="14" src="../Images/001.gif" width="14" />
        <asp:LinkButton ID="lbadd" runat="server" PostBackUrl="teacheradd.aspx" Text="新增">新增</asp:LinkButton>
        <img height="14" src="../Images/010.gif" width="14" style="height: 14px" />
        <asp:LinkButton ID="lbdel" runat="server" onclick="LinkButton1_Click" 
            OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
      &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>姓名</td>
                            <td align="left">
                <asp:TextBox ID="txttel" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            科目</td>
                        <td>
              <asp:DropDownList ID="ddlkemu" runat="server" AppendDataBoundItems="true">
              <asp:ListItem Value="">不限</asp:ListItem>
              <asp:ListItem Value="科目二">科目二</asp:ListItem>
              <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>至<asp:TextBox ID="txtbaoming2" runat="server" onfocus="WdatePicker()"></asp:TextBox>
                        </td>
   <td>&nbsp;</td>
                            <td align="left">
                                &nbsp;</td>
                        <td>
                            <asp:Button ID="btnSel" runat="server" Text="搜索" onclick="btnSel_Click" />
                            </td>
                        <td>
                            <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" EmptyDataText="没有或没有符合条件的课程信息！" 
                OnRowDeleting="gdv_RowDeleting" OnSorting="gdv_Sorting" Width="100%">
                <HeaderStyle CssClass="sys_grid_head_cell" />
                <Columns>
                    <asp:TemplateField HeaderText="全选" HeaderStyle-Width="40px">
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="fenxiao" HeaderText="分校" SortExpression="fenxiao"/>
                    <asp:BoundField DataField="tel" HeaderText="手机" SortExpression="tel"/>
                    <asp:BoundField DataField="userxm" HeaderText="教练姓名" SortExpression="userxm" />
                    <asp:BoundField DataField="paihao" HeaderText="车辆" SortExpression="paihao" />
                    <asp:BoundField DataField="shijian" HeaderText="日期" SortExpression="shijian" DataFormatString="{0:yyyy-MM-dd}"/>
                    <asp:BoundField DataField="kemu" HeaderText="科目" SortExpression="kemu" />
                   <asp:BoundField DataField="starttime" HeaderText="起始时间" SortExpression="starttime" />
                   <asp:BoundField DataField="endtime" HeaderText="截止时间" SortExpression="endtime" />
                   <asp:BoundField DataField="renshu" HeaderText="计划人数" SortExpression="renshu" />
                    <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; " 
                        HeaderText="删除" ShowCancelButton="False" ShowDeleteButton="True"   HeaderStyle-Width="40px"/>
                </Columns>
                <PagerSettings Visible="False" />
                <RowStyle Height="25px" HorizontalAlign="Center" />
            </asp:GridView>
            <uc3:fenye ID="fenye1" runat="server" />
    </div>
    </form>
</body>
</html>


