QueryBorrowHistory.aspx
上传用户:gooyliu
上传日期:2018-09-29
资源大小:5816k
文件大小:3k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" MasterPageFile="~/SysOperator/OperatorMasterPage.Master" AutoEventWireup="true" CodeBehind="QueryBorrowHistory.aspx.cs" Inherits="Web.SysOperator.QueryBorrowHistory" Title="查询历史借阅信息" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  3.     <table>
  4.      <tr>
  5.         <td colspan="2" align="center">
  6.           <asp:Label runat="server" ID="lbl1" Font-Bold="True" Height="30px"> 查询历史借阅信息</asp:Label>     
  7.         </td>
  8.      </tr>
  9.      <tr>
  10.         <td>读者编号:</td>
  11.         <td><asp:TextBox ID="txtReaderID" runat="server"></asp:TextBox></td>
  12.      </tr>
  13.      
  14.       <tr>
  15.          <td  align="center">
  16.             <asp:Button ID="btnQuery" runat="server"  Text="查询" onclick="btnQuery_Click"/>
  17.          </td>
  18.          <td  align="center">
  19.             <asp:Button ID="btnReset" runat="server"  Text="重置" onclick="btnReset_Click" />
  20.          </td>
  21.       </tr>   
  22.       
  23.    </table>
  24.    
  25.    <table id="gridTable" runat="server" visible="false">
  26.      <tr>
  27.            <td align="center" style="height: 25px">
  28.                 该读者的书刊借阅历史信息
  29.             </td>
  30.       </tr>
  31.     <tr>
  32.         <td>
  33.              <asp:GridView ID="gvBorrowHistory" runat="server" AutoGenerateColumns="False" 
  34.                    BackColor="White" BorderColor="#999999" BorderWidth="1px" 
  35.                    CellPadding="3" GridLines="Vertical" BorderStyle="None" >
  36.                 <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
  37.                 <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
  38.                 
  39.                 <Columns>
  40.                     <asp:BoundField DataField="bookName" HeaderText="题名"  HeaderStyle-Wrap="false" />
  41.                     <asp:BoundField DataField="bookIndex" HeaderText="索书号" HeaderStyle-Wrap="false" />
  42.                     <asp:BoundField DataField="author" HeaderText="作者"  HeaderStyle-Wrap="false"/>
  43.                     <asp:BoundField DataField="abstract" HeaderText="介绍" HeaderStyle-Wrap="false" />
  44.                 </Columns>              
  45.             
  46.             
  47.                 <PagerStyle BackColor="#999999" ForeColor="Black" 
  48.                     HorizontalAlign="Center" />
  49.                 <SelectedRowStyle BackColor="#008A8C" ForeColor="White" Font-Bold="True" />
  50.                 <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
  51.                 <AlternatingRowStyle BackColor="#DCDCDC" />             
  52.             
  53.             </asp:GridView>
  54.         </td>
  55.     </tr>
  56.    </table>
  57. </asp:Content>