ManageMeeting.aspx
上传用户:tree100901
上传日期:2007-06-03
资源大小:2295k
文件大小:5k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
  2. <%@ Page language="c#" Codebehind="ManageMeeting.aspx.cs" AutoEventWireup="false" Inherits="OA.ManageMeeting" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>安泰自动办公系统</title>
  7. <style type="text/css">TABLE { FONT-SIZE: 9pt }
  8. BODY { FONT-SIZE: 9pt }
  9. </style>
  10. <LINK href="baseStyle.css" type="text/css" rel="stylesheet">
  11. <LINK href="MENU/menuStyle.css" type="text/css" rel="stylesheet">
  12. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  13. <meta content="C#" name="CODE_LANGUAGE">
  14. <meta content="JavaScript" name="vs_defaultClientScript">
  15. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  16. </HEAD>
  17. <body topMargin="5">
  18. <form id="Form1" method="post" runat="server" oncontextmenu='return false'>
  19. <uc1:mymenu id="Mymenu1" runat="server" MenuData="MENU/MenuData.xml"></uc1:mymenu>
  20. <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: static; TOP: 100px" cellSpacing="1"
  21. cellPadding="1" width="100%" border="1">
  22. <TR>
  23. <TD style="HEIGHT: 30px" vAlign="middle" align="right" width="100%"><asp:label id="stats" runat="server"></asp:label></TD>
  24. </TR>
  25. <TR>
  26. <TD vAlign="top"><asp:datagrid id="MyDataGrid" runat="server" Width="100%" OnItemCreated="MyDataGrid_ItemCreated"
  27. OnDeleteCommand="MyDataGrid_Delete" PagerStyle-PrevPageText="<< 上页" PagerStyle-NextPageText="下页 >>" PagerStyle-HorizontalAlign="Right"
  28. ItemStyle-CssClass="normal" HeaderStyle-HorizontalAlign="center" AlternatingItemStyle-BackColor="#f0f8ff"
  29. HeaderStyle-BackColor="#d0d8df" OnPageIndexChanged="MyDataGrid_PageIndexChanged" PageSize="8" AllowPaging="True"
  30. OnSortCommand="MyDataGrid_Sort" AllowSorting="true" AutoGenerateColumns="False" DataKeyField="MeetingID"
  31. OnItemDataBound="MyDataGrid_ItemDataBound">
  32. <AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
  33. <ItemStyle CssClass="normal"></ItemStyle>
  34. <HeaderStyle HorizontalAlign="Center" BorderStyle="Outset" BackColor="#D0D8DF"></HeaderStyle>
  35. <Columns>
  36. <asp:HyperLinkColumn DataNavigateUrlField="MeetingID" DataNavigateUrlFormatString="javascript:window.open('MeetingDetails.aspx?MeetingID={0}','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,revisable=no,left=100,top=0,width=600,height=150');window.opener=null;window.close();"
  37. DataTextField="Title" SortExpression="Title" HeaderText="会议主题">
  38. <HeaderStyle Width="20%"></HeaderStyle>
  39. </asp:HyperLinkColumn>
  40. <asp:BoundColumn DataField="MeetingDate" SortExpression="MeetingDate" HeaderText="会议时间" DataFormatString="{0:MM-dd hh:mm}">
  41. <HeaderStyle Width="10%"></HeaderStyle>
  42. </asp:BoundColumn>
  43. <asp:BoundColumn DataField="Date" SortExpression="Date" HeaderText="发送时间" DataFormatString="{0:MM-dd hh:mm}">
  44. <HeaderStyle Width="10%"></HeaderStyle>
  45. </asp:BoundColumn>
  46. <asp:BoundColumn DataField="Caller" SortExpression="Caller" HeaderText="召集人">
  47. <HeaderStyle Width="8%"></HeaderStyle>
  48. </asp:BoundColumn>
  49. <asp:BoundColumn DataField="PersonID" SortExpression="PersonID" HeaderText="发送人">
  50. <HeaderStyle Width="8%"></HeaderStyle>
  51. </asp:BoundColumn>
  52. <asp:ButtonColumn ButtonType="LinkButton" Text="修改再发" HeaderText="操作">
  53. <HeaderStyle Width="8%"></HeaderStyle>
  54. </asp:ButtonColumn>
  55. <asp:ButtonColumn ButtonType="LinkButton" Text="查看" HeaderText="阅读状态">
  56. <HeaderStyle Width="8%"></HeaderStyle>
  57. </asp:ButtonColumn>
  58. <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
  59. <HeaderStyle Width="8%"></HeaderStyle>
  60. </asp:ButtonColumn>
  61. <asp:TemplateColumn HeaderText="会议状态">
  62. <HeaderStyle Width="15%"></HeaderStyle>
  63. <ItemTemplate>
  64. <asp:RadioButton id=rb_0 runat="server" Text="未" Checked='<%# Convert.ToInt32(DataBinder.Eval(Container.DataItem,"Result"))==0?true:false %>' GroupName="iSign">
  65. </asp:RadioButton>
  66. <asp:RadioButton id=rb_1 runat="server" Text="已" Checked='<%# Convert.ToInt32(DataBinder.Eval(Container.DataItem,"Result"))==1?true:false %>' GroupName="iSign">
  67. </asp:RadioButton>
  68. <asp:RadioButton id=rb_2 runat="server" Text="消" Checked='<%# Convert.ToInt32(DataBinder.Eval(Container.DataItem,"Result"))==2?true:false %>' GroupName="iSign">
  69. </asp:RadioButton>
  70. </ItemTemplate>
  71. </asp:TemplateColumn>
  72. <asp:BoundColumn DataField="MeetingID" Visible="False"></asp:BoundColumn>
  73. </Columns>
  74. <PagerStyle NextPageText="下页 &gt;&gt;" PrevPageText="&lt;&lt; 上页" HorizontalAlign="Right"></PagerStyle>
  75. </asp:datagrid>
  76. </TD>
  77. </TR>
  78. <TR>
  79. <TD vAlign="middle" align="right">
  80. <asp:Button id="Button1" runat="server" Text="更新会议状态"></asp:Button>
  81. </TD>
  82. </TR>
  83. </TABLE>
  84. </form>
  85. </body>
  86. </HTML>