<%@ page language="C#" autoeventwireup="true" inherits="general_Contract_CheckRecord, 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 runat="server">
    <title>审批记录</title>
    
</head>
<body class ="bodycolor" leftmargin="0" topmargin="0" >
    <form id="form1" runat="server">
    <div>
    </div>
    <table style="width: 100%" cellspacing="0" cellpadding="0">
		<tr>
			<td align="center"><br>
    <C1WebGrid:C1WebGrid ID="C1WebGrid1" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" CallbackOptions="Paging,Sorting,Selection" CssClass="c1report"
            DataKeyField="Cl_ContractId" HScrollBarStyle="Automatic" OnItemCreated="C1WebGrid1_ItemCreated"
            OnPageIndexChanging="C1WebGrid1_PageIndexChanging" OnSortingCommand="C1WebGrid1_SortingCommand"
            PageSize="5" SkinID="gridviewSkin"  width="764px" height=250px >
            <Columns>
                <C1WebGrid:C1BoundColumn DataField="Contract_Num"   HeaderText="合同编号" SortExpression="Contract_Num">
                </C1WebGrid:C1BoundColumn>
                <C1WebGrid:C1TemplateColumn SortExpression="Control_People" HeaderText="审批人"><ItemTemplate><%#Eval("Control_People")%></ItemTemplate></C1WebGrid:C1TemplateColumn>
                <C1WebGrid:C1TemplateColumn HeaderText="审批日期"  SortExpression="Exp5" ><ItemTemplate><%#string.Format("{0:d}",Eval("Exp5").ToString())%></ItemTemplate><ItemStyle Width=150px HorizontalAlign="Center" Wrap="True" />
                    <HeaderStyle HorizontalAlign="Center" /></C1WebGrid:C1TemplateColumn>
                    <C1WebGrid:C1TemplateColumn HeaderText="审批意见"  SortExpression="Exp4" >
                    
                    <ItemTemplate>
                    <asp:Label     ID="Lkb" Text='<%# Server.HtmlDecode(Eval("Exp4").ToString()).Length > 20 ? Server.HtmlDecode(Eval("Exp4").ToString()).Substring(0, 19) + "..." : Server.HtmlDecode(Eval("Exp4").ToString())%>'  ToolTip='<%# Server.HtmlDecode(Eval("Exp4").ToString())%>' runat="server"></asp:Label>
 
                </ItemTemplate>
                    <ItemStyle Width=300px HorizontalAlign="Center" Wrap="True" />
                    <HeaderStyle HorizontalAlign="Center" /></C1WebGrid:C1TemplateColumn>   
            </Columns>
        </C1WebGrid:C1WebGrid>
    		</td>
		</tr>
	</table>
    </form>
     <div id="ShowJs" runat="Server"> </div>
</body>
</html>
