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

📄 bookin.aspx

📁 这是个我的图书管理网站,大家可以参考参考,愿意和大家讨论
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="BookIn.aspx.cs" Inherits="BookIn" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <strong><em><span style="font-family: Arial"><span style="color: #99ff66">
        <br />
        <br />
        Welcome to our Library Website!<br />
    </span><span style="color: #99ff66">Enjoy Youself~</span></span></em></strong>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 562px; height: 161px">
        <tr>
            <td colspan="2" rowspan="3" style="width: 178px; height: 181px">
                <asp:Label ID="Label1" runat="server" BackColor="#FFCC33" BorderColor="White" Font-Bold="True"
                    Font-Italic="True" Font-Size="X-Large" ForeColor="#804030" Height="5px" Text=" 图   书   信  息  管  理"
                    Width="252px"></asp:Label><br />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp;<br />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                <br />
                <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="DarkOrange">录 入 书 籍</asp:HyperLink>
                &nbsp;&nbsp;<br />
                <br />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:HyperLink ID="HyperLink3" runat="server" ForeColor="DarkOrange"
                    NavigateUrl="~/BookBorr.aspx">借 阅 书 籍</asp:HyperLink><br />
                <br />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;
                <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="DarkOrange" NavigateUrl="~/BookBack.aspx">归 还 书 籍</asp:HyperLink>
            </td>
            <td rowspan="3" style="width: 469px; height: 181px">
                &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                <img src="picture/200692612345201.gif" style="width: 130px; height: 183px" /></td>
        </tr>
        <tr>
        </tr>
        <tr>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <table style="width: 482px; height: 160px">
        <tr>
            <td style="width: 58px">
                <asp:Label ID="Label2" runat="server" ForeColor="#FFC080" Height="21px" Text="图书名称"
                    Width="70px"></asp:Label></td>
            <td style="width: 172px">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
            <td style="width: 89px">
                <asp:Label ID="Label3" runat="server" ForeColor="#FFC080" Height="22px" Text="图书类别"
                    Width="68px"></asp:Label></td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1"
                    DataTextField="leibiename" DataValueField="leibienumber">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 58px">
                <asp:Label ID="Label4" runat="server" ForeColor="#FFC080" Text="作者" Width="63px"></asp:Label></td>
            <td style="width: 172px">
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
            <td style="width: 89px">
                <asp:Label ID="Label5" runat="server" ForeColor="#FFC080" Height="19px" Text="出版社"
                    Width="53px"></asp:Label></td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 58px">
                <asp:Label ID="Label6" runat="server" ForeColor="#FFC080" Text="定价"></asp:Label></td>
            <td style="width: 172px">
                <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox></td>
            <td style="width: 89px">
                <asp:Label ID="Label7" runat="server" ForeColor="#FFC080" Text="入库日期"></asp:Label></td>
            <td>
                <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox></td>
        </tr>
    </table>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:libraryConnectionString %>"
        SelectCommand="SELECT * FROM [tshlb]"></asp:SqlDataSource>
    <asp:Button ID="Button1" runat="server" BackColor="Black" ForeColor="#FFC080" OnClick="Button1_Click"
        Text="确定录入" Width="101px" />
    <asp:Label ID="Label8" runat="server" ForeColor="#FFE0C0" Width="152px"></asp:Label>
</asp:Content>

⌨️ 快捷键说明

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