ProjectList.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:4k
- <%@ Page language="c#" Codebehind="ProjectList.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.PM.ProjectList" %>
- <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>Project List</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link href="styles.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body>
- <form id="ProjectList" method="post" runat="server">
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td class="tab-active" vAlign="top" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
- </tr>
- </table>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td width="8"><img height="8" src="images/spacer.gif" width="8"></td>
- <td vAlign="top">
- <table class="admin-tan-border" height="530" cellSpacing="20" cellPadding="0" width="100%" border="0">
- <tr>
- <td height="20"><asp:button id="NewProjectButton" runat="server" CssClass="standard-text" Text="创建新项目"></asp:button></td>
- </tr>
- <tr vAlign="top" height="*">
- <td>
- <asp:datagrid id="ProjectsGrid" runat="server" OnPageIndexChanged="ProjectsGrid_Page" allowpaging="True" BorderColor="White" BorderStyle="None" Width="100%" CellPadding="2" AutoGenerateColumns="False" AllowSorting="True">
- <headerstyle cssclass="grid-header"></headerstyle>
- <columns>
- <asp:hyperlinkcolumn DataNavigateUrlField="ProjectID" DataNavigateUrlFormatString="ProjectDetails.aspx?id={0}" DataTextField="Name" SortExpression="Name" HeaderText="项目名称">
- <headerstyle horizontalalign="Left" width="65%" cssclass="grid-header"></headerstyle>
- <itemstyle cssclass="grid-first-item"></itemstyle>
- </asp:hyperlinkcolumn>
- <asp:templatecolumn SortExpression="ManagerUserName" HeaderText="项目经理">
- <headerstyle horizontalalign="Left" width="15%" cssclass="grid-header"></headerstyle>
- <itemstyle cssclass="grid-item"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container, "DataItem.ManagerUserName") %>
- </itemtemplate>
- </asp:templatecolumn>
- <asp:templatecolumn SortExpression="CompletionDate" HeaderText="完成日期">
- <headerstyle horizontalalign="Left" width="10%" cssclass="grid-header"></headerstyle>
- <itemstyle horizontalalign="Left" cssclass="grid-item"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container, "DataItem.EstCompletionDate", "{0:d}") %>
- </itemtemplate>
- </asp:templatecolumn>
- <asp:templatecolumn SortExpression="Duration" HeaderText="完成时间">
- <headerstyle horizontalalign="Right" width="10%" cssclass="grid-header"></headerstyle>
- <itemstyle horizontalalign="Right" cssclass="grid-last-item"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container, "DataItem.EstDuration") %>
- </itemtemplate>
- </asp:templatecolumn>
- </columns>
- <pagerstyle horizontalalign="Center"></pagerstyle>
- </asp:datagrid>
- </td>
- </tr>
- <tr vAlign="top">
- <td colSpan="3" height="12"><img height="1" src="images/spacer.gif" width="1"></td>
- </tr>
- </table>
- </td>
- <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
- </tr>
- <tr>
- <td vAlign="top" colSpan="5" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
- </tr>
- </table>
- </form>
- </body>
- </HTML>