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

<%@ 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>
        <table style="width: 500px; height: 50px">
            <tr>
                <td align="left" colspan="2" style="padding-left:120px;font-size:15px;">图书报废
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px" align="right">
                    要报废的书名：</td>
                <td style="width: 100px">
                    <asp:TextBox ID="tbname" runat="server"></asp:TextBox></td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                    <asp:ImageButton ID="ibtnbreak" runat="server" ImageUrl="~/n38_image/qr.gif" OnClick="ibtnbreak_Click"
                        OnClientClick="return confirm('确认要报废这本书吗？')" /></td>
                <td style="width: 100px">
                </td>
            </tr>
        </table>
    
    </div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderColor="Black"
            BorderStyle="Solid" BorderWidth="1px" Width="350px" OnRowDataBound="GridView1_RowDataBound">
            <Columns>
                <asp:BoundField DataField="n38_break_id" HeaderText="编号">
                    <ItemStyle HorizontalAlign="Center" Width="40px" />
                </asp:BoundField>
                <asp:BoundField DataField="n38_break_bookname" HeaderText="书名" />
                <asp:BoundField DataField="n38_break_date" DataFormatString="{0:d}" HeaderText="时间">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
            </Columns>
        </asp:GridView>
        <webdiyer:aspnetpager id="anpborrow" runat="server" firstpagetext="首页" horizontalalign="Left"
         lastpagetext="尾页" nextpagetext="后页" pagesize="5" prevpagetext="前页" showpageindexbox="Always" AlwaysShowFirstLastPageNumber="True" CssClass="anpager" CurrentPageButtonClass="cpb" NumericButtonCount="5" UrlPageSizeName="[{0}]" UrlPaging="True" Wrap="False" OnPageChanged="anpcatalog_PageChanged" style="margin-top:5px;"></webdiyer:aspnetpager>
    </form>
</body>
</html>
