ProjectList.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:4k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page language="c#" Codebehind="ProjectList.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.PM.ProjectList" %>
  2. <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4.   <HEAD>
  5. <title>Project List</title>
  6. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  7. <link href="styles.css" type="text/css" rel="stylesheet">
  8.   </HEAD>
  9. <body>
  10. <form id="ProjectList" method="post" runat="server">
  11. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  12. <tr>
  13. <td class="tab-active" vAlign="top" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
  14. </tr>
  15. </table>
  16. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  17. <tr>
  18. <td width="8"><img height="8" src="images/spacer.gif" width="8"></td>
  19. <td vAlign="top">
  20. <table class="admin-tan-border" height="530" cellSpacing="20" cellPadding="0" width="100%" border="0">
  21. <tr>
  22. <td height="20"><asp:button id="NewProjectButton" runat="server" CssClass="standard-text" Text="创建新项目"></asp:button></td>
  23. </tr>
  24. <tr vAlign="top" height="*">
  25. <td>
  26. <asp:datagrid id="ProjectsGrid" runat="server" OnPageIndexChanged="ProjectsGrid_Page" allowpaging="True" BorderColor="White" BorderStyle="None" Width="100%" CellPadding="2" AutoGenerateColumns="False" AllowSorting="True">
  27. <headerstyle cssclass="grid-header"></headerstyle>
  28. <columns>
  29. <asp:hyperlinkcolumn DataNavigateUrlField="ProjectID" DataNavigateUrlFormatString="ProjectDetails.aspx?id={0}" DataTextField="Name" SortExpression="Name" HeaderText="项目名称">
  30. <headerstyle horizontalalign="Left" width="65%" cssclass="grid-header"></headerstyle>
  31. <itemstyle cssclass="grid-first-item"></itemstyle>
  32. </asp:hyperlinkcolumn>
  33. <asp:templatecolumn SortExpression="ManagerUserName" HeaderText="项目经理">
  34. <headerstyle horizontalalign="Left" width="15%" cssclass="grid-header"></headerstyle>
  35. <itemstyle cssclass="grid-item"></itemstyle>
  36. <itemtemplate>
  37. &nbsp;<%# DataBinder.Eval(Container, "DataItem.ManagerUserName") %>
  38. </itemtemplate>
  39. </asp:templatecolumn>
  40. <asp:templatecolumn SortExpression="CompletionDate" HeaderText="完成日期">
  41. <headerstyle horizontalalign="Left" width="10%" cssclass="grid-header"></headerstyle>
  42. <itemstyle horizontalalign="Left" cssclass="grid-item"></itemstyle>
  43. <itemtemplate>
  44. &nbsp;<%# DataBinder.Eval(Container, "DataItem.EstCompletionDate", "{0:d}") %>
  45. </itemtemplate>
  46. </asp:templatecolumn>
  47. <asp:templatecolumn SortExpression="Duration" HeaderText="完成时间">
  48. <headerstyle horizontalalign="Right" width="10%" cssclass="grid-header"></headerstyle>
  49. <itemstyle horizontalalign="Right" cssclass="grid-last-item"></itemstyle>
  50. <itemtemplate>
  51. &nbsp;<%# DataBinder.Eval(Container, "DataItem.EstDuration") %>
  52. </itemtemplate>
  53. </asp:templatecolumn>
  54. </columns>
  55. <pagerstyle horizontalalign="Center"></pagerstyle>
  56. </asp:datagrid>
  57. </td>
  58. </tr>
  59. <tr vAlign="top">
  60. <td colSpan="3" height="12"><img height="1" src="images/spacer.gif" width="1"></td>
  61. </tr>
  62. </table>
  63. </td>
  64. <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
  65. </tr>
  66. <tr>
  67. <td vAlign="top" colSpan="5" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
  68. </tr>
  69. </table>
  70. </form>
  71. </body>
  72. </HTML>