MemberListView.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:5k
源码类别:

C#编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="MemberListView.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.MemberListView" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>MemberListView</title>
  6. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body MS_POSITIONING="GridLayout" topmargin="5" leftmargin="5">
  13. <form id="MemberListView" method="post" runat="server">
  14. <FONT face="宋体">
  15. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  16. <tr>
  17. <td>
  18. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  19. <tr height="25">
  20. <td style="HEIGHT: 25px" width="1"></td>
  21. <td id=bar1 style="HEIGHT: 25px" align=center width=90 
  22.           background='<% Response.Write(DisplayType=="0"?"../../images/maillistbutton2.gif":"../../images/maillistbutton1.gif"); %>' 
  23.           >&nbsp;<A class=Newbutton href="MemberListView.aspx?TeamID=<%=ClassID%>" >项目成员</A></td>
  24. <td id=bar2 style="HEIGHT: 25px" align=center width=90 
  25.           background='<% Response.Write(DisplayType=="1"?"../../images/maillistbutton2.gif":"../../images/maillistbutton1.gif"); %>' 
  26.           >&nbsp;<A class=Newbutton href="MemberListView.aspx?TeamID=<%=ClassID%>&amp;DisplayType=1" >非成员</A></td>
  27. <td id=bar3 style="HEIGHT: 25px" align=center width=90 
  28.           background='<% Response.Write(DisplayType=="2"?"../../images/maillistbutton2.gif":"../../images/maillistbutton1.gif"); %>' 
  29.           >&nbsp;<a class=Newbutton href="MemberListView.aspx?TeamID=<%=ClassID%>&amp;DisplayType=2">订阅人</a></td>
  30. <td style="HEIGHT: 25px" align="right"><font size="2">
  31. <asp:CheckBox id="cbRemind" runat="server" Text="提醒本人及小组成员" Width="146px" Font-Size="X-Small"></asp:CheckBox>&nbsp;
  32. <input type=button onclick="javascript:self.location='Switch.aspx?Action=1&amp;ClassID=<%=ClassID%>'" value="返回" class=redButtonCss>&nbsp;
  33. </font>
  34. <asp:Button id="cmdDelete" runat="server" Text="脱离组" CssClass="redbuttoncss"></asp:Button>&nbsp;
  35. <asp:Button id="btnLeader" runat="server" CssClass="redButtonCss" Text="设置为组长"></asp:Button>
  36. <asp:Button id="btnAdd" runat="server" CssClass="redButtonCss" Text="加入组"></asp:Button>&nbsp;&nbsp;
  37. </td>
  38. </tr>
  39. </table>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td>
  44. <asp:datagrid id="dgMemberList" runat="server" DataKeyField="staff_id" OnPageIndexChanged="DataGrid_PageChanged"
  45. PagerStyle-HorizontalAlign="Right" PagerStyle-Mode="NumericPages" AllowPaging="True" AutoGenerateColumns="False"
  46. AllowSorting="True" Width="100%" BorderWidth="1px" CellPadding="3" PageSize="15" BorderColor="#93BEE2">
  47. <AlternatingItemStyle Font-Size="X-Small" BackColor="#E8F4FF"></AlternatingItemStyle>
  48. <HeaderStyle Font-Size="X-Small" HorizontalAlign="Center" Height="10px" ForeColor="White" VerticalAlign="Top"
  49. BackColor="#337FB2"></HeaderStyle>
  50. <FooterStyle Font-Size="XX-Small" HorizontalAlign="Center" Height="10px" VerticalAlign="Bottom"></FooterStyle>
  51. <Columns>
  52. <asp:TemplateColumn HeaderText="选择">
  53. <ItemStyle Font-Size="X-Small" HorizontalAlign="Center" Height="20px" Width="60px"></ItemStyle>
  54. <ItemTemplate>
  55. <asp:CheckBox id="grpMailID" Checked="False" Runat="server"></asp:CheckBox>
  56. </ItemTemplate>
  57. </asp:TemplateColumn>
  58. <asp:TemplateColumn HeaderText="ID">
  59. <ItemStyle Font-Size="X-Small"></ItemStyle>
  60. <ItemTemplate>
  61. <a href='DisplayStaffInfo.aspx?StaffID=<%# DataBinder.Eval(Container.DataItem,"staff_id") %>'>
  62. <%# DataBinder.Eval(Container.DataItem,"Staff_Name") %>
  63. </a>
  64. </ItemTemplate>
  65. </asp:TemplateColumn>
  66. <asp:BoundColumn DataField="RealName" HeaderText="真实姓名">
  67. <ItemStyle Font-Size="X-Small"></ItemStyle>
  68. </asp:BoundColumn>
  69. <asp:TemplateColumn HeaderText="身份">
  70. <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
  71. <ItemStyle Font-Size="X-Small" HorizontalAlign="Left"></ItemStyle>
  72. <ItemTemplate>
  73. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.IsLeader").ToString()=="1"?"组长":"成员" %>'>
  74. </asp:Label>
  75. </ItemTemplate>
  76. </asp:TemplateColumn>
  77. <asp:BoundColumn DataField="position_name" HeaderText="所任职位">
  78. <ItemStyle Font-Size="X-Small" HorizontalAlign="Right"></ItemStyle>
  79. <FooterStyle Font-Size="X-Small"></FooterStyle>
  80. </asp:BoundColumn>
  81. </Columns>
  82. <PagerStyle Font-Size="12px" BorderColor="#E0E0E0" BorderStyle="Dotted" HorizontalAlign="Right"
  83. BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
  84. </asp:datagrid></td>
  85. </tr>
  86. </table>
  87. </FONT>
  88. </form>
  89. </body>
  90. </HTML>