default.aspx
来自「水晶报表详细资料水晶报表详细资料水晶报表详细资料」· ASPX 代码 · 共 71 行
ASPX
71 行
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!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 id="Head1" runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="width: 541px">
<tr>
<td rowspan="4" style="width: 22px">
</td>
<td align="right" style="width: 57px; height: 30px">
<asp:Label ID="Label1" runat="server" Font-Size="10pt" Text="图书名称:" Width="65px"></asp:Label></td>
<td style="width: 79px; height: 30px">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 57px; height: 25px">
<asp:Label ID="Label2" runat="server" Font-Size="10pt" Text="图书介绍:" Width="65px"></asp:Label></td>
<td style="width: 79px; height: 25px">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 57px; height: 22px">
<asp:Label ID="Label3" runat="server" Font-Size="10pt" Text="图书价格:" Width="65px"></asp:Label></td>
<td style="width: 79px; height: 22px">
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" style="width: 57px; height: 23px">
<asp:Label ID="Label4" runat="server" Font-Size="10pt" Text="是否推荐:" Width="67px"></asp:Label></td>
<td style="width: 79px; height: 23px">
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem Selected="True">是</asp:ListItem>
<asp:ListItem>否</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="保存信息" Font-Size="10pt" />
</td>
</tr>
<tr>
<td align="left" colspan="3" style="height: 86px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84" OnPageIndexChanging="GridView1_PageIndexChanging"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
Font-Size="8pt" Width="350px" AllowPaging="True" PageSize="4" style="left: 4px; position: relative; top: 0px" Height="145px">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<Columns>
<asp:BoundField DataField="BookID" HeaderText="图书ID" />
<asp:BoundField DataField="BookName" HeaderText="图书名称" />
<asp:BoundField DataField="BookIntroduce" HeaderText="图书介绍" />
<asp:BoundField DataField="BookPrice" HeaderText="图书价格" />
<asp:BoundField DataField="BookIsNew" HeaderText="是否推荐" />
</Columns>
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?