📄 beizhu.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="beizhu.aspx.cs" Inherits="beizhu" %>
<!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>
<form id="form1" runat="server">
<div style="border:2; position:absolute; left:45px; width: 291px; top: 0px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
DataKeyNames="beizhu_id" ForeColor="#333333" GridLines="None" OnRowDeleting="GridView1_RowDeleting"
OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Width="570px">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="beizhu_title" HeaderText="标题">
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="beizhu_content" HeaderText="内容">
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="beizhu_time" HeaderText="备注时间">
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="beizhu_session" HeaderText="帐号">
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Size="Large" />
</asp:BoundField>
<asp:CommandField ShowDeleteButton="True">
<ItemStyle Font-Size="Small" />
</asp:CommandField>
</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>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -