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

<%@ 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="全选" />
        </span>
        <img height="14" src="../Images/001.gif" width="14" />
        <a href="#" id="lnkadd" runat="server" onclick="openwin('xiangmuadd.aspx','添加分校','650px','500px')">新增</a>
        <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> 
            <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="ID" HeaderText="ID" SortExpression="id"  HeaderStyle-Width="50px"/>
                    <asp:BoundField DataField="bianhao" HeaderText="编号" SortExpression="bianhao"  HeaderStyle-Width="50px"/>
                    <asp:BoundField DataField="xiangmu" HeaderText="收费项目" SortExpression="xiangmu" />
                    <asp:TemplateField HeaderText="编辑"  HeaderStyle-Width="40px">
                        <ItemTemplate>
                            <a href='#' onclick="openwin('xiangmuadd.aspx?id=<%#Eval("id") %>','修改收费项目','600px','500px')"">编辑</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>


