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

<%@ 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">
    
    <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>
                            <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>
            <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="card" HeaderText="身份证号" SortExpression="card" />
                    <asp:BoundField DataField="paihao" HeaderText="车辆" SortExpression="paihao" />
                    <asp:TemplateField HeaderText="编辑"  HeaderStyle-Width="40px">
                        <ItemTemplate>
                            <a href='teacheradd.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"   HeaderStyle-Width="40px"/>
                </Columns>
                <PagerSettings Visible="False" />
                <RowStyle Height="25px" HorizontalAlign="Center" />
            </asp:GridView>
            <uc3:fenye ID="fenye1" runat="server" />
    </div>
    </form>
</body>
</html>

