<%@ Page language="c#" Codebehind="TrainEdit.aspx.cs" validateRequest=false  AutoEventWireup="false" Inherits="WebOCRM.Office.TrainEdit" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Train</title>
		<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">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" name="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button1" runat="server" Text="讲座基本资料↓"></asp:button><asp:textbox id="Wsdn_StarCRM_Id" runat="server" Visible="False"></asp:textbox></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel1" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<asp:Label id="Label1" runat="server">讲座名称</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Name" runat="server" Width="200px" MaxLength="50"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label2" runat="server">讲师</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_ChairMan" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label3" runat="server">开始时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_StartTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_StartTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A>
										<asp:ImageButton id="ImageButton1" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/mini_query.gif"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label6" runat="server">结束时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_EndTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_EndTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A>
										<asp:ImageButton id="ImageButton2" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/mini_query.gif"></asp:ImageButton></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label4" runat="server">讲座费用</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Pay" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label5" runat="server">地点</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Address" runat="server" Width="200px"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label10" runat="server">参与部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Department" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselectdepartment();" alt="选择部门" src="../image/mini_post.gif">
									</TD>
									<TD>
										<asp:Label id="Label7" runat="server">参与人员</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_JionMan" runat="server" Width="200px"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD></TD>
									<TD></TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsPublic" runat="server" Text="其他部门可见" Checked="True"></asp:CheckBox></TD>
									<TD>
										<asp:CheckBox id="DeleteFlag" runat="server" Text="删除"></asp:CheckBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button5" runat="server" Text="讲座内容↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel3" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<FTB:FREETEXTBOX id="Wsdn_StarCRM_Info" runat="server" Width="92%" Height="300px" ToolbarType="Office2000"></FTB:FREETEXTBOX></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P><asp:button id="BtSubmit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:Button id="Btcopy" runat="server" Text="复制当前记录"></asp:Button>&nbsp;
							<asp:Button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:Button>
							<asp:button id="Button2" runat="server" Text="返回"></asp:button></P>
						<P>
							<asp:button id="BtPrint" runat="server" Text="打印当前信息"></asp:button>&nbsp;&nbsp;
							<asp:DropDownList id="PrintList" runat="server">
								<asp:ListItem Value="网页形式">网页形式</asp:ListItem>
								<asp:ListItem Value="输出为Word" Selected>输出为Word</asp:ListItem>
							</asp:DropDownList>&nbsp;
							<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label>&nbsp;
						</P>
						<P>
							<HR width="100%" SIZE="1">
						<P></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:datagrid id="DGValidate" runat="server" Visible="False" Height="68px" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="MainCaption" HeaderText="错误项目"></asp:BoundColumn>
								<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
								<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
							</Columns>
						</asp:datagrid>
						<asp:Label id="Label8" runat="server">相关文件：</asp:Label>
						<asp:DataGrid id="DataGridFile" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="文件说明"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="下载" Target="_blank" DataNavigateUrlField="Wsdn_StarCRM_Url" DataNavigateUrlFormatString="../UploadFile/{0}"
									HeaderText="下载"></asp:HyperLinkColumn>
							</Columns>
						</asp:DataGrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
