📄 hmgl.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="hmgl.aspx.cs" Inherits="Admin_hmgl" %>
<!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 style="background-color: silver">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<strong><span style="color: #006666">号码管理</span></strong><br />
<br />
<asp:Label ID="Label1" runat="server" Text="单位:" Width="54px"></asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
Width="122px">
</asp:DropDownList>
<asp:Label ID="Label2" runat="server" Text="部门:" Width="52px"></asp:Label>
<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged"
Width="126px">
</asp:DropDownList>
<br />
<br />
<asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"
GridLines="None" OnCancelCommand="DataGrid1_CancelCommand" OnDeleteCommand="DataGrid1_DeleteCommand"
OnEditCommand="DataGrid1_EditCommand" OnItemDataBound="DataGrid1_ItemDataBound"
OnUpdateCommand="DataGrid1_UpdateCommand" Width="630px" AllowPaging="True" OnPageIndexChanged="DataGrid1_PageIndexChanged" PageSize="12">
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<SelectedItemStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" NextPageText="下一页" PrevPageText="上一页" />
<ItemStyle BackColor="#DEDFDE" ForeColor="Black" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
<Columns>
<asp:BoundColumn DataField="bmName" HeaderText="单位" ReadOnly="True">
<HeaderStyle Width="120px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="bsName" HeaderText="部门" ReadOnly="True">
<HeaderStyle Width="120px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="telperson" HeaderText="技术负责">
<HeaderStyle Width="120px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="telnumber" HeaderText="电话号码">
<HeaderStyle Width="120px" />
</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 />
<br />
<br />
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -