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

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" MasterPageFile="~/SysOperator/OperatorMasterPage.Master" AutoEventWireup="true" CodeBehind="QueryBorrowInfo.aspx.cs" Inherits="Web.SysOperator.BorrowInfo" 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.    </table>
  23.    
  24.    
  25.    
  26.    
  27.     <table  id="borrowInfoTable" width="100%" border="1" runat="server" visible="false">
  28.         <tr>
  29.             <td align="center" style="height: 25px">
  30.                 该读者的书刊借阅信息
  31.             </td>
  32.         </tr>
  33.         <tr  id="TrGrid" runat="server" >
  34.             <td width="100%" >
  35.                 <asp:GridView ID="gvBorrowBookList" runat="server" Width="755px" AutoGenerateColumns="False"
  36.                     CellPadding="4" ForeColor="#333333" GridLines="None" 
  37.                     OnRowDataBound="gvBorrowBookList_RowDataBound">
  38.                     <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
  39.                     <Columns>
  40.                         <asp:BoundField DataField="bookName" HeaderText="题名" />
  41.                         <asp:BoundField DataField="beginDate" HeaderText="借阅日期" />
  42.                         <asp:TemplateField HeaderText="应归还日期">
  43.                             <EditItemTemplate>
  44.                                 <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
  45.                             </EditItemTemplate>
  46.                             <ItemTemplate>
  47.                                 <asp:Label ID="lblEndDate" runat="server"></asp:Label>
  48.                             </ItemTemplate>
  49.                         </asp:TemplateField>
  50.                         <asp:BoundField DataField="publish" HeaderText="出版社" />
  51.                     </Columns>
  52.                     <RowStyle BackColor="#EFF3FB" />
  53.                     <EditRowStyle BackColor="#2461BF" />
  54.                     <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
  55.                     <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
  56.                     <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
  57.                     <AlternatingRowStyle BackColor="White" />
  58.                 </asp:GridView>
  59.             </td>
  60.             
  61.         </tr>
  62.         <tr  id="TrMsg" runat="server">
  63.             <td align="center"  >
  64.                <asp:Label ID="lblMsgNoBorrow" runat="server" ForeColor="Red" ></asp:Label>
  65.             </td>
  66.         </tr>
  67.     </table>
  68. </asp:Content>