default.aspx

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

ASPX
118
字号
<%@ 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; border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge;">
            <tr>
                <td style="width: 100px; height: 18px">
                </td>
                <td style="width: 555px; height: 18px">
                    <strong style="width: 555px">
                        <asp:Label ID="Label7" runat="server" Text="修改指定记录"></asp:Label></strong></td>
                <td style="width: 100px; height: 18px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 112px">
                </td>
                <td style="width: 555px; height: 112px">
                    <table cellpadding="0" cellspacing="0" style="width: 432px">
                        <tr>
                            <td align="center" colspan="2" style="height: 105px">
                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellSpacing="2" OnPageIndexChanging="GridView1_PageIndexChanging"
                                    Font-Size="9pt" Width="361px" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" AllowPaging="True" PageSize="5">
                                    <Columns>
                                        <asp:BoundField DataField="BookID" HeaderText="图书编号" />
                                        <asp:BoundField DataField="BookName" HeaderText="图书名称" />
                                        <asp:BoundField DataField="BookIntroduce" HeaderText="图书介绍" />
                                        <asp:BoundField DataField="BookPrice" HeaderText="图书价格" />
                                        <asp:HyperLinkField DataNavigateUrlFields="BookID" DataNavigateUrlFormatString="Default.aspx?BookID={0}"
                                            HeaderText="更新" Text="更新">
                                            <ControlStyle Font-Underline="False" />
                                        </asp:HyperLinkField>
                                    </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" style="height: 68px">
                                <table cellpadding="0" cellspacing="0" style="width: 257px">
                                    <tr>
                                        <td colspan="3" style="height: 30px">
                                            <asp:Label ID="Label4" runat="server" Font-Size="9pt" Text="您当前要修改编号为["></asp:Label><asp:Label
                                                ID="Label5" runat="server" Font-Size="9pt"></asp:Label><asp:Label ID="Label6" runat="server"
                                                    Font-Size="9pt" Text="]的记录"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 33px; height: 30px">
                                        </td>
                                        <td style="width: 63px; height: 30px">
                                            <asp:Label ID="Label1" runat="server" Font-Size="9pt" Text="图书名称"></asp:Label></td>
                                        <td align="left" style="width: 133px; height: 30px">
                                            <asp:TextBox ID="TextBox1" runat="server" Width="100px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 33px; height: 30px">
                                        </td>
                                        <td style="width: 63px; height: 30px">
                                            <asp:Label ID="Label2" runat="server" Font-Size="9pt" Text="图书介绍"></asp:Label></td>
                                        <td align="left" style="width: 133px; height: 30px">
                                            <asp:TextBox ID="TextBox2" runat="server" Width="100px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 33px; height: 30px">
                                        </td>
                                        <td style="width: 63px; height: 30px">
                                            <asp:Label ID="Label3" runat="server" Font-Size="9pt" Text="图书价格"></asp:Label></td>
                                        <td align="left" style="width: 133px; height: 30px">
                                            <asp:TextBox ID="TextBox3" runat="server" Width="100px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 33px; height: 30px">
                                        </td>
                                        <td style="width: 63px; height: 30px">
                                        </td>
                                        <td align="left" style="width: 133px; height: 30px">
                                            <asp:Button ID="Button1" runat="server" Font-Size="9pt" OnClick="Button1_Click" Text="确定更新" /></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                            <td style="width: 100px">
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 100px; height: 112px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 555px; background-color: #ccff99;">
                    &nbsp;<span style="font-size: 11pt">吉林省明日科技有限公司</span></td>
                <td style="width: 100px">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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