<%@ Page Language="C#" AutoEventWireup="true" CodeFile="N38_LostBookList.aspx.cs" Inherits="N38_LostBookList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!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" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <div ><table>
              <tr>
                  <td colspan="3" style="padding-left:80px; font-size:15px;">挂失图书列表
                  </td>
              </tr>
              <tr>
                  <td style="width: 100px; height: 17px;" align="right">
                      书名：</td>
                  <td style="width: 100px; height: 17px;">
                      <asp:TextBox ID="tbbookname" runat="server" Width="100px"></asp:TextBox></td>
                  <td style="width: 100px; height: 17px;">
                  </td>
              </tr>
              <tr>
                  <td style="width: 100px" align="right">
                      姓名：</td>
                  <td style="width: 100px">
                      <asp:TextBox ID="tbusername" runat="server"  Width="100px"></asp:TextBox></td>
                  <td style="width: 100px">
                  </td>
              </tr>
          <tr>
              <td style="width: 100px">
              </td>
              <td style="width: 100px">
                  <asp:ImageButton ID="ibtnsel" runat="server" ImageUrl="~/n38_image/cx_05.png" OnClick="ibtnsel_Click" /></td>
              <td style="width: 100px">
              </td>
          </tr>
          </table>
      </div>
      <asp:GridView ID="gvbook" runat="server" AutoGenerateColumns="False" OnRowCommand="gvbook_RowCommand"
            OnRowDataBound="gvbook_RowDataBound" Width="500px" BackColor="White" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px">
            <Columns>
                <asp:BoundField DataField="n38_lost_bookname" HeaderText="书名" />
                <asp:BoundField DataField="n38_user_realname" HeaderText="姓名">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="n38_lost_date" HeaderText="日期" DataFormatString="{0:d}">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="图书找回">
                    <ItemTemplate>
                        <asp:ImageButton ID="ibtnfind" runat="server" CommandName="find" ImageUrl="~/n38_image/qr.gif"
                            OnClientClick="return confirm('确认取消挂失图书吗？')" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" Width="60px" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                没有挂失的记录
            </EmptyDataTemplate>
        </asp:GridView>
        <webdiyer:aspnetpager id="anplost" runat="server" firstpagetext="首页" horizontalalign="Left"
         lastpagetext="尾页" nextpagetext="后页" pagesize="5" prevpagetext="前页" showpageindexbox="Always" AlwaysShowFirstLastPageNumber="True" CssClass="anpager" CurrentPageButtonClass="cpb" NumericButtonCount="5" UrlPageSizeName="[{0}]" Wrap="False" OnPageChanged="anpcatalog_PageChanged" style="margin-top:5px;"></webdiyer:aspnetpager>
    </div>
    </form>
</body>
</html>
