<%@ page language="C#" autoeventwireup="true" inherits="general_Contract_BorConInfo, CrmCommand" %>

<%@ Register TagPrefix="C1WebGrid" Namespace="C1.Web.C1WebGrid" Assembly="C1.Web.C1WebGrid.2" %>
<!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>无标题页</title>
</head>
<body class ="bodycolor" leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
    <table align="center"  border="0" cellpadding="1" cellspacing="1"
            class="small" style="width: 662px">
            <tr>
  <td class="TableData" noWrap colspan=4>合同借出状态:
      <asp:DropDownList ID="SelType" runat="server" OnSelectedIndexChanged="SelType_SelectedIndexChanged" AutoPostBack="True">
          <asp:ListItem Value="已归还">已归还</asp:ListItem>
          <asp:ListItem Value="未归还">未归还</asp:ListItem>
      </asp:DropDownList>	
  </td>
    	</tr>
            <tr>
                <td align="left" class="TableData" colspan="2" style="height: 8px">
                   <asp:Label Visible=false ID="LblData" runat="server" Text="Label"></asp:Label></td></tr>
            <tr>
                <td align="center" class="TableData" colspan="2" style="height: 8px">
                 <C1WebGrid:C1WebGrid ID="C1WebGrid1" runat="server" AllowPaging="True" AllowSorting="True"
                                        AutoGenerateColumns="False" CallbackOptions="Paging,Sorting,Selection" 
                                        DataKeyField="Indexs"   OnItemCreated="C1WebGrid1_ItemCreated"
                                        OnPageIndexChanging="C1WebGrid1_PageIndexChanging" OnSortingCommand="C1WebGrid1_SortingCommand"
                                        PageSize="10" SkinID="gridviewSkin" Width="771px" OnItemCommand="C1WebGrid1_ItemCommand">
                                        <Columns>
                                            <C1WebGrid:C1BoundColumn DataField="Contract_Num" HeaderText="合同编号" SortExpression="Contract_Num">
                                            </C1WebGrid:C1BoundColumn>
                                                <C1WebGrid:C1BoundColumn DataField="IsRestore" HeaderText="是否归还" SortExpression="IsRestore">
                                            </C1WebGrid:C1BoundColumn>
                                            <C1WebGrid:C1TemplateColumn HeaderText="是否已签" SortExpression="IsCheckIn">
                                                <ItemTemplate>
                                                    <%#Eval("IsCheckIn").ToString()%>
                                                </ItemTemplate>
                                               
                                            </C1WebGrid:C1TemplateColumn>
                                            <C1WebGrid:C1TemplateColumn HeaderText="操作"><ItemTemplate><asp:LinkButton OnClientClick="return confirm('确定归还该合同吗?');" ID="lin" CommandName="Del" runat=server Text="归还"></asp:LinkButton></ItemTemplate></C1WebGrid:C1TemplateColumn>
                                        </Columns>
                                    </C1WebGrid:C1WebGrid>
                    </td>
            </tr>
        </table>
    </form>
</body>
</html>