117 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			117 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
|  | <%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" CodeFile="WorkplanMain.aspx.cs" Inherits="WorkplanMain" %> | |||
|  | 
 | |||
|  | <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> | |||
|  |   | |||
|  | <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> | |||
|  | <table width="40%" class="Table_NoBorder"> | |||
|  | <tr> | |||
|  | 
 | |||
|  | <td align="center"   > | |||
|  |   | |||
|  | 
 | |||
|  |     <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="White" BorderWidth="1px" FirstDayOfWeek="Monday" Font-Names="Verdana" Font-Size="19pt"  | |||
|  |     ForeColor="#265AA3" Height="256px" NextPrevFormat="ShortMonth" OnSelectionChanged="Calendar1_SelectionChanged" ShowGridLines="True" Width="800px" Font-Bold="True" OnDayRender="Calendar1_DayRender"> | |||
|  |         <SelectedDayStyle BackColor="LightSteelBlue" ForeColor="Red" Font-Bold="True" Font-Names="<22><><EFBFBD><EFBFBD>" Font-Size="XX-Large" /> | |||
|  |         <TodayDayStyle BackColor="#265AA3" ForeColor="White" /> | |||
|  |         <daystyle font-size="XX-Large" /> | |||
|  |         <OtherMonthDayStyle ForeColor="#999999" /> | |||
|  |         <NextPrevStyle Font-Bold="True" Font-Size="19pt" ForeColor="#333333" VerticalAlign="Bottom" /> | |||
|  |         <DayHeaderStyle Font-Bold="True" Font-Size="20pt" /> | |||
|  |         <TitleStyle BackColor="White" BorderColor="#265AA3" BorderWidth="4px" Font-Bold="True" | |||
|  |             Font-Size="30pt" ForeColor="#265AA3" /> | |||
|  |     </asp:Calendar> | |||
|  |   | |||
|  |     <br /> | |||
|  | 
 | |||
|  | </td> | |||
|  | </tr> | |||
|  |      | |||
|  |     <tr><td style="width: 800px"> | |||
|  |      | |||
|  |         <!------ THE DATA GRID AREA ------> | |||
|  |       | |||
|  |         <asp:gridview   id="GridView1"  CssClass="DataGrid" PagerStyle-HorizontalAlign="Right" | |||
|  |                         runat="server"  | |||
|  |                         emptydatatext="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"  | |||
|  | 
 | |||
|  |                         OnRowEditing="GridView1_RowEditing"  | |||
|  |                         DataKeyNames="ID" | |||
|  |                         OnRowDeleting="GridView1_RowDeleting"  | |||
|  |                         AllowPaging="True"  | |||
|  |                         OnPageIndexChanging="GridView1_PageIndexChanging"  | |||
|  |                         OnRowDataBound="GridView1_RowDataBound"  | |||
|  |                         OnSorting="GridView1_Sorting"  OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Width="100%" ShowFooter="True" AutoGenerateColumns="False"> | |||
|  | 						  | |||
|  |             <Columns> | |||
|  | <asp:BoundField visible="false" DataField="ID" SortExpression="ID" HeaderText="workplanid"></asp:BoundField> | |||
|  | <asp:BoundField visible="false" DataField="wpd_workplan" SortExpression="wpd_workplan" HeaderText="wpd_workplanid"></asp:BoundField> | |||
|  | <asp:BoundField DataField="wpd_number" SortExpression="wpd_number" HeaderText="<22><><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  | <asp:BoundField DataField="wpd_content"   SortExpression="wpd_content" HeaderText="<22>ƻ<EFBFBD><C6BB><EFBFBD><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  | <asp:BoundField DataField="wpd_mem"   SortExpression="wpd_mem" HeaderText="<22>ƻ<EFBFBD>˵<EFBFBD><CBB5>"></asp:BoundField> | |||
|  | <asp:CommandField SelectText="<img src=../Images/edit.gif border=0 title=<3D><EFBFBD>  >" ShowDeleteButton="True" ShowHeader="True" DeleteText="<img src=../Images/Delete.gif border=0 title=ɾ<><C9BE> onclick='return delete_click()'>" ShowSelectButton="True" HeaderText="<22>ࡡ<EFBFBD><E0A1A1>"> | |||
|  | <HeaderStyle Width="15%" HorizontalAlign="Center"></HeaderStyle> | |||
|  | 
 | |||
|  | <ItemStyle Width="15%" HorizontalAlign="Center"></ItemStyle> | |||
|  | </asp:CommandField> | |||
|  | </Columns> | |||
|  | 							<RowStyle CssClass="ItemStyle" HorizontalAlign="Center"></RowStyle> | |||
|  | 							<emptydatatemplate> û<><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD></emptydatatemplate> | |||
|  |                          | |||
|  |                         <SelectedRowStyle CssClass="SelectedItemStyle"></SelectedRowStyle> | |||
|  |             <PagerStyle HorizontalAlign="Right" /> | |||
|  | 							<HeaderStyle CssClass="HeaderStyle" HorizontalAlign="Center"></HeaderStyle> | |||
|  | 							<AlternatingRowStyle CssClass="AlternatingItemStyle"></AlternatingRowStyle> | |||
|  |              | |||
|  |         </asp:gridview> | |||
|  |          | |||
|  |         <asp:Button ID="btn_addNew" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼" CssClass="Button" OnClick="btnAddnew_Click" /> | |||
|  |        </td></tr> | |||
|  |     <tr><td class="ALine" style="width: 667px"  > | |||
|  |         </td></tr>  | |||
|  |     <tr><td style="width: 667px"> | |||
|  |      | |||
|  |      | |||
|  |         <!------ THE ADD /DELETE AREA ------> | |||
|  |        | |||
|  |         <asp:Panel ID ="DataDetail" runat="server" Width="100%" Visible="false"> | |||
|  |           <table class="Table_NoBorder" border="0" style="width: 755px; height: 122px"> | |||
|  | 			<tr> | |||
|  | 			<td align="right" nowrap> | |||
|  |                <asp:Label ID="Label2" runat="server" CssClass="Label"  Text="<22>ƻ<EFBFBD><C6BB><EFBFBD><EFBFBD><EFBFBD>"></asp:Label></td> | |||
|  |                <td  > | |||
|  |                | |||
|  | 					<asp:TextBox ID="txtPlanContent" runat="server"  CssClass="TextBox" MaxLength="100" Width="415px"  ></asp:TextBox> | |||
|  | 					</td> | |||
|  | 					  <td></td> | |||
|  | 			 </tr> | |||
|  | 			 <tr> | |||
|  | 			 <td  align="right" nowrap style="height: 44px"> | |||
|  |                 <asp:Label ID="Label3" runat="server" CssClass="Label"  Text="<22>ƻ<EFBFBD>˵<EFBFBD><CBB5>"></asp:Label></td><td style="height: 44px"  > | |||
|  |                    <asp:TextBox ID="txtPlanMem" runat="server" CssClass="TextBox_Long" MaxLength="100" Width="710px" Height="119px" TextMode="MultiLine"  ></asp:TextBox> | |||
|  |               </td> | |||
|  |               <td></td> | |||
|  |               </tr>  | |||
|  |               <!------ BUTTONS ------> | |||
|  | 			    <tr> | |||
|  |             <td   align="center" colspan="2">   <asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnSubmit_Click" /> | |||
|  |                  | |||
|  |                 </td> | |||
|  |             </tr> | |||
|  |              | |||
|  |             </table> | |||
|  |             </asp:Panel> | |||
|  |                | |||
|  |           | |||
|  |        | |||
|  |        | |||
|  |         | |||
|  |        | |||
|  |         </td></tr> | |||
|  |         <tr><td style="width: 667px"> | |||
|  |              | |||
|  |             <br/></td></tr> | |||
|  |    </table> | |||
|  |      | |||
|  |  </asp:Content> | |||
|  | 
 |