ManageSchedule.aspx
资源名称:OA_at.rar [点击查看]
上传用户:tree100901
上传日期:2007-06-03
资源大小:2295k
文件大小:4k
源码类别:
OA系统
开发平台:
C#
- <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
- <%@ Page language="c#" Codebehind="ManageSchedule.aspx.cs" AutoEventWireup="false" Inherits="OA.ManageSchedule" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>MySenderMessage</title>
- <style type="text/css">TABLE { FONT-SIZE: 9pt }
- BODY { FONT-SIZE: 9pt }
- </style>
- <LINK href="baseStyle.css" type="text/css" rel="stylesheet">
- <LINK href="MENU/menuStyle.css" type="text/css" rel="stylesheet">
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- </HEAD>
- <body topMargin="5" oncontextmenu='return false'>
- <form id="Form1" method="post" runat="server">
- <uc1:mymenu id="Mymenu1" runat="server" MenuData="MENU/MenuData.xml"></uc1:mymenu>
- <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: static; TOP: 100px" cellSpacing="1"
- cellPadding="1" width="100%" border="1">
- <TR>
- <TD style="HEIGHT: 30px" vAlign="middle" align="right" width="100%"><asp:label id="stats" runat="server"></asp:label></TD>
- </TR>
- <TR>
- <TD vAlign="top"><asp:datagrid id="MyDataGrid" runat="server" Width="100%" OnItemCreated="MyDataGrid_ItemCreated"
- OnDeleteCommand="MyDataGrid_Delete" PagerStyle-PrevPageText="<< 上页" PagerStyle-NextPageText="下页 >>" PagerStyle-HorizontalAlign="Right"
- ItemStyle-CssClass="normal" HeaderStyle-HorizontalAlign="center" AlternatingItemStyle-BackColor="#f0f8ff"
- HeaderStyle-BackColor="#d0d8df" OnPageIndexChanged="MyDataGrid_PageIndexChanged" PageSize="4" AllowPaging="True"
- OnSortCommand="MyDataGrid_Sort" AllowSorting="true" AutoGenerateColumns="False" DataKeyField="ScheduleID"
- OnItemDataBound="MyDataGrid_ItemDataBound">
- <AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
- <ItemStyle CssClass="normal"></ItemStyle>
- <HeaderStyle HorizontalAlign="Center" BorderStyle="Outset" BackColor="#D0D8DF"></HeaderStyle>
- <Columns>
- <asp:BoundColumn DataField="Contents" SortExpression="Contents" HeaderText="日程计划">
- <HeaderStyle Width="8%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="PlanTime" SortExpression="PlanTime" HeaderText="预定时间" DataFormatString="{0:MM-dd hh:mm}">
- <HeaderStyle Width="10%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="Date" SortExpression="Date" HeaderText="编制时间" DataFormatString="{0:MM-dd hh:mm}">
- <HeaderStyle Width="10%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="PersonID" SortExpression="PersonID" HeaderText="制作人">
- <HeaderStyle Width="8%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:TemplateColumn SortExpression="Result" HeaderText="计划状态">
- <HeaderStyle Width="15%"></HeaderStyle>
- <ItemTemplate>
- <asp:RadioButton id=rb_0 runat="server" Text="未" Checked='<%# Convert.ToInt32(DataBinder.Eval(Container.DataItem,"Result"))==0?true:false %>' GroupName="iSign">
- </asp:RadioButton>
- <asp:RadioButton id=rb_1 runat="server" Text="已" Checked='<%# Convert.ToInt32(DataBinder.Eval(Container.DataItem,"Result"))==1?true:false %>' GroupName="iSign">
- </asp:RadioButton>
- <asp:RadioButton id=rb_2 runat="server" Text="消" Checked='<%# Convert.ToInt32(DataBinder.Eval(Container.DataItem,"Result"))==2?true:false %>' GroupName="iSign">
- </asp:RadioButton>
- </ItemTemplate>
- </asp:TemplateColumn>
- <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
- <HeaderStyle Width="8%"></HeaderStyle>
- </asp:ButtonColumn>
- <asp:BoundColumn DataField="ScheduleID" Visible="False"></asp:BoundColumn>
- </Columns>
- <PagerStyle NextPageText="下页 >>" PrevPageText="<< 上页" HorizontalAlign="Right"></PagerStyle>
- </asp:datagrid>
- </TD>
- </TR>
- </TABLE>
- </form>
- </body>
- </HTML>