<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="Project.aspx.cs" AutoEventWireup="false" Inherits="WebStarCRM.Crm.Project" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>StarSuit 机会与项目</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" 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" align="left"><asp:label id="Label1" runat="server">机会与项目：管理公司潜在的项目与已实施,或正在实施的项目</asp:label>&nbsp;</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo">
						<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
							<TR>
								<TD><asp:label id="Label2" runat="server">项目名称: </asp:label><asp:textbox id="TextBox1" runat="server" Width="90px"></asp:textbox></TD>
								<TD><asp:label id="Label3" runat="server">相关客户: </asp:label><asp:textbox id="TextBox2" runat="server" Width="90px"></asp:textbox></TD>
								<TD><asp:label id="Label5" runat="server">相关员工: </asp:label><asp:textbox id="TextBox3" runat="server" Width="90px"></asp:textbox></TD>
								<TD></TD>
								<TD><asp:button id="Button1" runat="server" Text="搜索"></asp:button>&nbsp;<asp:button id="Button2" runat="server" Text="添加项目"></asp:button></TD>
							</TR>
						</TABLE>
						<HR width="90%" SIZE="1">
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:datagrid id="DataGrid1" runat="server" Width="100%" AutoGenerateColumns="False" AllowPaging="True"
							PageSize="15">
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<HeaderStyle CssClass="WsdnOrgInfo"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="选择">
									<ItemTemplate>
										<INPUT type="radio" onclick='ProjectSelect("<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Project"))%>")' title='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Project"))%>' >
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:HyperLinkColumn Text="编辑" Target="_self" DataNavigateUrlField="ProjectId" DataNavigateUrlFormatString="ProjectEdit.aspx?ID='{0}'"
									HeaderText="编辑"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Project" HeaderText="项目名称"></asp:BoundColumn>
								<asp:HyperLinkColumn DataNavigateUrlField="add_x" DataNavigateUrlFormatString="../Cl/ClEdit.aspx?id={0}&amp;mode=edit"
									DataTextField="Wsdn_StarCRM_Client" SortExpression="Wsdn_StarCRM_Client" HeaderText="公司客户" Target="_blank"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="主要负责员工"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Order" HeaderText="相关订单编号"></asp:BoundColumn>
								<asp:BoundColumn DataField="SumCount" HeaderText="项目估计总账"></asp:BoundColumn>
								<asp:BoundColumn DataField="StartTime" HeaderText="项目开始日期"></asp:BoundColumn>
								<asp:BoundColumn DataField="EndTime" HeaderText="项目结束日期"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="删除" DataNavigateUrlField="ProjectId" DataNavigateUrlFormatString="ProjectDelete.aspx?id='{0}'"
									HeaderText="删除"></asp:HyperLinkColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Left" CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid>
						<asp:Label id="Lgrid" runat="server"></asp:Label>
						<asp:Label id="Label6" runat="server">跳至第</asp:Label>
						<asp:DropDownList id="Tbpage" runat="server"></asp:DropDownList>
						<asp:Label id="Label4" runat="server">页</asp:Label>
						<asp:Button id="Btpage" runat="server" Text="确定"></asp:Button></TD>
				</TR>
				<TR>
					<TD></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
