dwgl.aspx
来自「ASP.net+Access数据库源码数据库源码」· ASPX 代码 · 共 40 行
ASPX
40 行
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="dwgl.aspx.cs" Inherits="Admin_dwgl" %>
<!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="text-align: left">
管理单位<br />
<asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="483px" style="background-color: silver" OnCancelCommand="DataGrid1_CancelCommand" OnDeleteCommand="DataGrid1_DeleteCommand" OnEditCommand="DataGrid1_EditCommand" OnItemDataBound="DataGrid1_ItemDataBound" OnUpdateCommand="DataGrid1_UpdateCommand">
<FooterStyle BackColor="White" ForeColor="#000066" />
<SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" Mode="NumericPages" />
<ItemStyle ForeColor="#000066" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundColumn DataField="bmID" HeaderText="单位编号" ReadOnly="True">
<HeaderStyle Width="100px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="bmName" 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></div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?