📄 dutydepartmentmain.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DutyDepartmentMain.aspx.cs" Inherits="DutyDepartmentMain" Title="值班部门管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<br />
-->值班表部门管理主页面<br />
<asp:Label ID="Label1" runat="server" Text="还没有任何数据,请添加" Visible="False"></asp:Label><br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
ForeColor="#333333" GridLines="None" Width="600px" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" DataKeyNames="id" OnRowDeleting="GridView1_RowDeleting">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="id" HeaderText="ID" ReadOnly="True" />
<asp:BoundField HeaderText="名称" DataField="L_KS_KSMC" />
<asp:BoundField HeaderText="编号" DataField="L_KS_KSBM" />
<asp:CommandField HeaderText="操作" ShowEditButton="True" />
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" DeleteText="<div id="del" onclick="javascript:return confirm('确认删除吗?')">删除</div>" />
</Columns>
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
<br />
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="300px">
<table>
<tr>
<td style="width: 100px">
名称</td>
<td style="width: 100px">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px">
编号</td>
<td style="width: 100px">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="add" />
<asp:Button ID="Button2" runat="server" Text="reset" /></td>
</tr>
</table>
<asp:Label ID="Label2" runat="server"></asp:Label></asp:Panel>
<br />
<br />
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -