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

📄 booksubscription.aspx

📁 管理系统源码 很好的用于参考很好对开发毕业设计很有帮助
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BookSubscription.aspx.cs" Inherits="Pages_BookSubscription" %>

<!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 runat="server">
    <title>无标题页</title>
    <link href="../CSS/Style.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
      function openAdd()
      {
        window.open('BookSubscriptionEdit.aspx','','status=no,scrollbars=no,top=200,left=150,width=750,height=380');
      }
       function openQuery()
      {
        window.open('BookSubscriptionQuery.aspx','','status=no,scrollbars=no,top=200,left=300,width=420,height=165');
      }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%; height: 100%">
            <tr>
                <td style="height: 57px">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/btn_Add.jpg" OnClientClick="openAdd()" /></td>
                <td style="height: 57px; width: 162px;">
                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/btn_Query.jpg" OnClientClick="openQuery()" /></td>
                <td style="height: 57px; width: 78%;">
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:GridView ID="grdBook" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="1200px" OnPageIndexChanging="grdBook_PageIndexChanging" OnRowEditing="grdBook_RowEditing" EmptyDataText="没有查询到此记录!" OnRowDeleting="grdBook_RowDeleting">
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="ID" HeaderText="编号" />
                            <asp:BoundField DataField="BookName" HeaderText="图书名称" />
                            <asp:BoundField DataField="SubscriptionDeptment" HeaderText="征订单位" />
                            <asp:BoundField DataField="Superintendent" HeaderText="负责人" />
                            <asp:BoundField DataField="Contact" HeaderText="联系方式" />
                            <asp:BoundField DataField="Quantity" HeaderText="数量" />
                            <asp:BoundField DataField="Unit" HeaderText="单位" />
                            <asp:BoundField DataField="BookType" HeaderText="图书类型" />
                            <asp:BoundField DataField="Price" HeaderText="单价" />
                            <asp:BoundField DataField="CurrencyUnit" HeaderText="货币单位" />
                            <asp:BoundField DataField="HandlingPeople" HeaderText="经手人" />
                            <asp:BoundField DataField="HandlingPeopleContact" HeaderText="经手人联系方式" />
                            <asp:BoundField DataField="DateReceived" HeaderText="计划收到日期" />
                            <asp:BoundField DataField="Remarks" HeaderText="备注" />
                            <asp:CommandField HeaderText="编辑" ShowEditButton="True" ButtonType="Button" />
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" ButtonType="Button" />
                        </Columns>
                        <PagerTemplate>
                            <asp:Label ID="lblCurrentPage" runat="server" ForeColor="Red" Text="<%# ((GridView)Container.NamingContainer).PageIndex + 1 %>"></asp:Label>/
                            <asp:Label ID="lblPageCount" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageCount %>"></asp:Label>
                            <asp:LinkButton ID="lbtnFirstPage" runat="server" CommandArgument="First" CommandName="Page"
                                ForeColor="Black" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
                            <asp:LinkButton ID="lbtnPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page"
                                ForeColor="Black" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
                            <asp:LinkButton ID="lbtnNextPage" runat="server" CommandArgument="Next" CommandName="Page"
                                ForeColor="Black" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
                            <asp:LinkButton ID="lbtnLastPage" runat="server" CommandArgument="Last" CommandName="Page"
                                ForeColor="Black" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
                        </PagerTemplate>
                        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
                        <EditRowStyle BackColor="#2461BF" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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