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

<!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" />
</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:Panel ID="plZong" runat="server" Visible="true">   
<!--栏目开始 -->
            
            <!--这里添加内容 -->
                        <asp:Label ID="lbMessage" runat="server" ForeColor="Red" ></asp:Label>
		<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" onrowdatabound="GridView1_RowDataBound" 
                            
          onselectedindexchanging="GridView1_SelectedIndexChanging" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                            <asp:BoundField DataField="conid" HeaderText="合同编号" ReadOnly="True" />
                    <asp:TemplateField HeaderText="合同名称" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# bind("conname") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
       
                              <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                              <asp:BoundField DataField="price" HeaderText="合同价" ReadOnly="True" />
                              <asp:BoundField DataField="company" HeaderText="单位名称" ReadOnly="True" />
                              <asp:BoundField DataField="corporate" HeaderText="法人代表" ReadOnly="True" />
                              <asp:BoundField DataField="consigner" HeaderText="签字人" ReadOnly="True" />
                                <asp:BoundField DataField="signdate" HeaderText="生效时间" ReadOnly="True" />
                   <asp:BoundField DataField="enddate" HeaderText="结束时间" ReadOnly="True" />
                   <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                                <asp:CommandField HeaderText="操作" SelectText="修改" ShowSelectButton="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>

<!--栏目结束 -->
</asp:Panel> 
            </div>
            </div> 
        </form>
    </body>
</html>


