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

.net编程

开发平台:

C#

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