<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="search_get.aspx.cs" Inherits="Web.sb.show.search_get" %>

<!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 id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="/css/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/css/popcalendar.js"></script>
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('/css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
             <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	领用查询
                      	</td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
            
<!--栏目开始 -->
             领用日期：  
                    <asp:TextBox ID="tbStar" runat="server" Width="80px" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:TextBox>
                &nbsp;-
                    <asp:TextBox ID="tbEnd" runat="server" Width="80px" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:TextBox>   &nbsp;
                      <asp:Button ID="tbSub" runat="server" Text="查询领用" onclick="tbSub_Click" 
                        ValidationGroup="sub" />

                        	<asp:GridView ID="GridView1" runat="server" onrowdatabound="GridView1_RowDataBound" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
            <Columns>
                    <asp:BoundField DataField="getdate" HeaderText="领用时间" ReadOnly="True" />
                    <asp:BoundField DataField="devicenumber" HeaderText="材料编号" ReadOnly="True" />
                    <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                    <asp:BoundField DataField="devicename" HeaderText="名称" ReadOnly="True" />
                    <asp:BoundField DataField="type" HeaderText="规格" ReadOnly="True" />
                    <asp:TemplateField HeaderText="领用数量">
                         <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("getnumber") %>'></asp:Label>
                              <asp:Label ID="Label2" runat="server" Text='<%# Bind("unit") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="geterid" HeaderText="领用人编号" ReadOnly="True" />
                    <asp:BoundField DataField="geter" HeaderText="领用人" ReadOnly="True" />
                   
                    <asp:BoundField DataField="iouid" HeaderText="领用凭证" ReadOnly="True" />
                    
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
             
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>