default.aspx

来自「水晶报表详细资料水晶报表详细资料水晶报表详细资料」· ASPX 代码 · 共 93 行

ASPX
93
字号
<%@ 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 style="text-align: center">
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" style="width: 755px">
            <tr>
                <td style="width: 100px; height: 24px">
                </td>
                <td style="width: 529px; height: 24px; border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge;">
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="删除表中记录"></asp:Label></td>
                <td style="width: 100px; height: 24px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 164px">
                </td>
                <td style="width: 529px; height: 164px; border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge;">
                    <table cellpadding="0" cellspacing="0" style="width: 404px">
                        <tr>
                            <td colspan="2" style="height: 24px">
                                <table bgcolor="#ccffff" cellpadding="0" cellspacing="0" style="width: 396px; height: 28px;">
                                    <tr>
                                        <td style="width: 89px; height: 30px">
                                          
                                            <asp:Label ID="Label2" runat="server" Font-Size="9pt" Text="指定图书ID:"></asp:Label></td>
                                        <td align="left" style="width: 80px; height: 30px">
                                            <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></td>
                                        <td align="left" style="width: 94px; height: 30px">
                                            <asp:Button ID="Button1" runat="server" Font-Size="9pt" OnClick="Button1_Click" Text="删除表中记录" /></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="height: 155px">
                                <asp:GridView ID="GridView1" runat="server" CellSpacing="2" OnPageIndexChanging="GridView1_PageIndexChanging"
                                    Font-Size="9pt" Width="389px" AutoGenerateColumns="False" AllowPaging="True" PageSize="5" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3">
                                    <Columns>
                                        <asp:BoundField DataField="BookID" HeaderText="图书ID" />
                                        <asp:BoundField DataField="BookName" HeaderText="图书名称" />
                                        <asp:BoundField DataField="BookIntroduce" HeaderText="图书介绍" />
                                        <asp:BoundField DataField="BookPrice" HeaderText="图书价格" />
                                        <asp:HyperLinkField DataNavigateUrlFields="BookID"
                                            HeaderText="删除操作" Text="选择" DataNavigateUrlFormatString="Default.aspx?BookID={0}" />
                                    </Columns>
                                    <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                                    <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>
                        <tr>
                            <td colspan="2">
                                <br />
                                <br />
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 96px">
                            </td>
                            <td style="width: 100px">
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 100px; height: 164px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 148px">
                </td>
                <td style="width: 529px; height: 148px">
                </td>
                <td style="width: 100px; height: 148px">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?