⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.aspx

📁 这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代码
💻 ASPX
字号:
<%@ 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>
        &nbsp;<table style="border-right: #9999ff thin solid; border-top: #9999ff thin solid; border-left: #9999ff thin solid; border-bottom: #9999ff thin solid">
            <tr>
                <td colspan="5" style="background-image: url(image/topOne.jpg); width: 778px; height: 60px">
                </td>
            </tr>
            <tr>
                <td colspan="5" style="background-image: url(image/topTwo.jpg); width: 778px; height: 29px">
                </td>
            </tr>
            <tr>
                <td rowspan="4" style="background-image: url(image/links.jpg); width: 197px; height: 18px">
                </td>
                <td rowspan="1" style="background-image: url(image/1294850_472733.gif); width: 202px;
                    height: 1px">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/image/updateButton0.jpg" /><span
                        style="font-size: 11pt">新用户</span></td>
                <td rowspan="5" style="background-image: url(image/left.jpg); width: 176px">
                </td>
                <td colspan="2" rowspan="1" style="background-image: url(image/left.jpg); height: 1px">
                </td>
            </tr>
            <tr>
                <td rowspan="4" style="background-image: url(image/1294850_472733.gif); width: 202px;
                    height: 18px">
        <table style="width: 357px; height: 325px; border-right: #ccccff thin solid; border-top: #ccccff thin solid; border-left: #ccccff thin solid; border-bottom: #ccccff thin solid;">
            <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: 100px; 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: 100px; 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: 100px; 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" style="left: 0px; position: relative"></asp:Label></td>
                <td style="width: 100px; height: 23px">
                    <asp:DropDownList ID="DropDownList1" runat="server">
                        <asp:ListItem>是</asp:ListItem>
                        <asp:ListItem>否</asp:ListItem>
                    </asp:DropDownList>
                    <br />
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加信息" Font-Size="10pt" style="position: relative" Width="55px" />
                    <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="清空" /></td>
            </tr>
            <tr>
                <td align="left" colspan="3" style="height: 86px; border-right: thin solid; border-top: thin solid; border-left: thin solid; border-bottom: thin solid;">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" OnPageIndexChanging="GridView1_PageIndexChanging"
                        BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3"
                        Font-Size="8pt" Width="334px" AllowPaging="True" PageSize="3" style="left: 4px; position: relative; top: 0px" Height="145px" OnRowDeleting="GridView1_RowDeleting">
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <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="是否推荐" />
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                        </Columns>
                        <RowStyle ForeColor="#000066" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <PagerStyle ForeColor="#000066" HorizontalAlign="Left" BackColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
                </td>
                <td colspan="2" rowspan="4" style="background-image: url(image/left.jpg); height: 18px">
                </td>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
            <tr>
                <td style="background-image: url(image/artices.jpg); width: 197px; height: 25px">
                </td>
            </tr>
            <tr>
                <td colspan="5" style="background-image: url(image/bottom.jpg); width: 778px; height: 111px">
                </td>
            </tr>
        </table>
       
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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