⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bmgl.aspx

📁 ASP.net+Access数据库源码数据库源码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="bmgl.aspx.cs" Inherits="Admin_bmgl" %>

<!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 runat="server">
    <title>无标题页</title>
</head>
<body style="background-color: silver">
    <form id="form1" runat="server">
    <div >
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <strong><span style="color: #003333">部门管理</span><br />
                </strong>
                <br />
                <asp:Label ID="Label1" runat="server" Text="选择单位:"></asp:Label>
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
                    Width="180px">
                </asp:DropDownList>
                <br />
                <br />
                <asp:DataGrid ID="DataGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                    CellPadding="3" OnCancelCommand="DataGrid1_CancelCommand" OnDeleteCommand="DataGrid1_DeleteCommand"
                    OnEditCommand="DataGrid1_EditCommand" OnItemDataBound="DataGrid1_ItemDataBound"
                    OnPageIndexChanged="DataGrid1_PageIndexChanged" OnUpdateCommand="DataGrid1_UpdateCommand"
                    Style="background-color: gainsboro" Width="527px">
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" Mode="NumericPages"
                        PageButtonCount="14" />
                    <ItemStyle ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundColumn DataField="bsID" HeaderText="部门编号" ReadOnly="True">
                            <HeaderStyle Width="100px" />
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="bsName" HeaderText="部门名称">
                            <HeaderStyle Width="200px" />
                        </asp:BoundColumn>
                        <asp:ButtonColumn CommandName="Delete" Text="删除">
                            <HeaderStyle Width="50px" />
                        </asp:ButtonColumn>
                        <asp:EditCommandColumn CancelText="取消" EditText="编辑" UpdateText="更新">
                            <HeaderStyle Width="100px" />
                        </asp:EditCommandColumn>
                    </Columns>
                </asp:DataGrid>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -