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

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" MasterPageFile="~/Reader/ReaderMasterPage.Master" AutoEventWireup="true"
  2.     CodeBehind="BorrowInfo.aspx.cs" Inherits="Web.Reader.BorrowInfo" Title="图书借阅记录" %>
  3. <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  4.     <table width="100%" border="1">
  5.         <tr>
  6.             <td align="center" style="height: 25px">
  7.                 我 的 书 刊 借 阅 信 息
  8.             </td>
  9.         </tr>
  10.         <tr  id="TrGrid" runat="server" >
  11.             <td width="100%" >
  12.                 <asp:GridView ID="gvBorrowBookList" runat="server" Width="755px" AutoGenerateColumns="False"
  13.                     CellPadding="4" ForeColor="#333333" GridLines="None" 
  14.                     OnRowDataBound="gvBorrowBookList_RowDataBound">
  15.                     <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
  16.                     <Columns>
  17.                         <asp:BoundField DataField="bookName" HeaderText="题名" />
  18.                         <asp:BoundField DataField="beginDate" HeaderText="借阅日期" />
  19.                         <asp:TemplateField HeaderText="应归还日期">
  20.                             <EditItemTemplate>
  21.                                 <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
  22.                             </EditItemTemplate>
  23.                             <ItemTemplate>
  24.                                 <asp:Label ID="lblEndDate" runat="server"></asp:Label>
  25.                             </ItemTemplate>
  26.                         </asp:TemplateField>
  27.                         <asp:BoundField DataField="publish" HeaderText="出版社" />
  28.                     </Columns>
  29.                     <RowStyle BackColor="#EFF3FB" />
  30.                     <EditRowStyle BackColor="#2461BF" />
  31.                     <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
  32.                     <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
  33.                     <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
  34.                     <AlternatingRowStyle BackColor="White" />
  35.                 </asp:GridView>
  36.             </td>
  37.             
  38.         </tr>
  39.         <tr  id="TrMsg" runat="server">
  40.             <td align="center"  >
  41.                <asp:Label ID="lblMsgNoBorrow" runat="server" ForeColor="Red" ></asp:Label>
  42.             </td>
  43.         </tr>
  44.     </table>
  45. </asp:Content>