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

📄 bookborrow.aspx

📁 c#做的一个图书管理系统
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="bookborrow.aspx.cs" Inherits="librarian_Default" Title="馆员" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">

</script>

    <table style="width: 100%; height: 320px; border-right: green thin solid; border-top: green thin solid; border-left: green thin solid; border-bottom: green thin solid;" id="TABLE1" language="javascript" onclick="return TABLE1_onclick()">
        <tr>
            <td style="height: 42px; width: 30%;border-right: green thin solid;" colspan="3" align="center">
                            &nbsp;<asp:LoginView ID="LoginView1" runat="server">
                    <RoleGroups>
                        <asp:RoleGroup>
                        </asp:RoleGroup>
                    </RoleGroups>
                    <LoggedInTemplate>
                        欢迎回来:
                    </LoggedInTemplate>
                </asp:LoginView>
              <asp:LoginName ID="LoginName1" runat="server" Style="color: green; font-family: 隶书" />
            </td>
            <td width=70% rowspan="3">
                <table style="width:100%; height: 165px">
                    <caption style="vertical-align: middle; color: blue; font-style: normal; background-color: teal; text-align: center;height:50px; font-size: 40pt;">
                        图书借阅管理</caption>
                    <tr>
                        <td style="width: 158px; height: 39px">
                            <asp:Label ID="Label1" runat="server" Height="32px" Style="vertical-align: middle;
                                text-align: right" Text="图书索取号:" Width="184px"></asp:Label></td>
                        <td style="height: 39px">
                            <asp:TextBox ID="booknumber" runat="server" Height="21px" Width="116px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="booknumber"
                                ErrorMessage="*不能为空" Width="81px"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 158px">
                            <asp:Label ID="Label2" runat="server" Height="32px" Style="vertical-align: middle;
                                text-align: right" Text="读者证件号:" Width="184px"></asp:Label></td>
                        <td>
                            <asp:TextBox ID="readernumber" runat="server" Height="26px" Width="117px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="readernumber"
                                ErrorMessage="*不能为空"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 158px; height: 32px">
                        </td>
                        <td style="height: 32px">
                            <asp:Button ID="borrow" runat="server" Height="34px" OnClick="borrow_Click" Text="借阅"
                                Width="90px" />
                            <asp:Button ID="cancel" runat="server" Height="34px" OnClick="cancel_Click" Text="取消"
                                Width="90px" /></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="height: 334px; width: 30%;border-right: green thin solid;" colspan="3" align="center">
                <asp:BulletedList ID="BulletedList1" runat="server" DataSourceID="SqlDataSource1"
                    DataTextField="mname" DataValueField="mname" DisplayMode="LinkButton" Height="300px"
                    Style="vertical-align: middle; direction: ltr; text-indent: 5pt; line-height: 30pt;
                    font-family: 隶书; text-align: center" Width="135px" OnClick="BulletedList1_Click">
                </asp:BulletedList>

            </td>
        </tr>
        <tr>
            <td style="height: 48px; width: 30%;border-right: green thin solid;" align="center" colspan="3">
            <asp:LoginStatus ID="LoginStatus1" runat="server" Font-Size="Large" Style="font-family: 隶书" LogoutPageUrl="~/logout.aspx" OnLoggingOut="LoginStatus1_LoggingOut" />
            </td>
        </tr>
    </table>
    &nbsp;
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=.;Initial Catalog=library;User ID=sa"
        SelectCommand="SELECT [mname] FROM [menu] WHERE ([mkid] = @mkid)">
        <SelectParameters>
            <asp:Parameter DefaultValue="馆员" Name="mkid" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>

</asp:Content>

⌨️ 快捷键说明

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