<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="Agent.aspx.cs" AutoEventWireup="false" Inherits="WsdnStarMarket.Storehouse.Agent" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>工作日志</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:Css id="Css1" runat="server"></uc1:Css>
			<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" id="Table1">
				<TR>
					<TD class="WsdnOrgTitle1" colSpan="3">
						<P><STRONG>代理商管理</STRONG>——管理公司的代理商资料。&nbsp;&nbsp;</P>
					</TD>
				</TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD><asp:label id="Label1" runat="server">代理商名称:</asp:label><asp:textbox id="Wsdn_StarCRM_Name" runat="server" Width="65px"></asp:textbox>&nbsp;&nbsp;
					</TD>
					<TD align="left">&nbsp;
						<asp:dropdownlist id="DropDownList1" runat="server" Width="57px">
							<asp:ListItem Value="可用">可用</asp:ListItem>
							<asp:ListItem Value="回收站">回收站</asp:ListItem>
						</asp:dropdownlist>&nbsp;
						<asp:button id="Button1" runat="server" Text="搜索"></asp:button>&nbsp;<asp:button id="Button2" runat="server" Text="更多条件↓"></asp:button></TD>
					<TD>&nbsp;&nbsp; <A href="FileUpload.aspx?type=New" target="info"></A>
						<asp:ImageButton id="ImBtAdd" runat="server"></asp:ImageButton>&nbsp;&nbsp;&nbsp; 
						&nbsp;<asp:button id="BtnDelete" runat="server" Text="删除"></asp:button>&nbsp;&nbsp;
					</TD>
				<TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD colSpan="3"><asp:panel id="Panel1" runat="server" Visible="False">
<asp:Label id="Label4" runat="server">联系人姓名:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Linkman" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label5" runat="server">地址:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Address" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label7" runat="server">城市:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_City" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label3" runat="server">电话号码:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Phone" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label8" runat="server">传真号码:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Fax" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label6" runat="server">网址:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_URL" runat="server" Width="65px"></asp:TextBox>
<asp:label id="Label2" runat="server">其他信息:</asp:label>
<asp:textbox id="Wsdn_StarCRM_Info" runat="server" Width="65px"></asp:textbox>&nbsp; 
					      
						</asp:panel></TD>
				<TR>
					<TD colSpan="3"><asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:HyperLinkColumn DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="AgentEdit.aspx?id={0}&amp;mode=edit"
									DataTextField="Wsdn_StarCRM_Name" HeaderText="公司名称"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="成为代理商时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Linkman" HeaderText="联系人姓名"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_City" HeaderText="城市"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Phone" HeaderText="电话号码"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Fax" HeaderText="传真号码"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
										<asp:TextBox id=TextBox1 accessKey='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "DeleteFlag"))%>' runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>' Width="0px">
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle Mode="NumericPages"></PagerStyle>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
