<%@ Register TagPrefix="uc1" TagName="quickdirect" Src="../Include/quickdirect.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="Product.aspx.cs" AutoEventWireup="false" Inherits="WsdnStarMarket.Storehouse.Product" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>商品/产品资料</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 width="100%" border="1">
				<TR class="WsdnOrgInfo">
					<TD width="50%" colSpan="2">
						<P><asp:label id="Label2" runat="server">&nbsp;&nbsp;产品管理</asp:label><uc1:css id="Css2" runat="server"></uc1:css><asp:label id="Msg" runat="server" ForeColor="Red"></asp:label></P>
					</TD>
					<TD colSpan="2"><FONT face="宋体"><uc1:quickdirect id="Quickdirect1" runat="server"></uc1:quickdirect></FONT></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="50%" colSpan="2">&nbsp;&nbsp;模糊搜索：
						<asp:textbox id="Txtsearch" runat="server"></asp:textbox><asp:button id="Btsearch" runat="server" Text="确定"></asp:button></TD>
					<TD colSpan="2"><asp:imagebutton id="Imagebutton1" runat="server" ImageUrl="../pic/new.png"></asp:imagebutton><FONT face="宋体">添加&nbsp;&nbsp;
							<asp:imagebutton id="BtnDelete" runat="server" ImageUrl="../pic/delete.png"></asp:imagebutton><FONT face="宋体">删除</FONT>&nbsp;&nbsp;
						</FONT>
						<asp:imagebutton id="btPrint" runat="server" ImageUrl="../pic/print_preview.png"></asp:imagebutton><FONT face="宋体">打印&nbsp;&nbsp;
						</FONT>
						<asp:imagebutton id="btHelp" runat="server" ImageUrl="../pic/help.png"></asp:imagebutton><FONT face="宋体">帮助&nbsp;&nbsp;
							<asp:imagebutton id="Btoutput" runat="server" ImageUrl="../pic/export.png"></asp:imagebutton></FONT><FONT face="宋体">输出&nbsp;
							<asp:imagebutton id="Btfresh" runat="server" ImageUrl="../pic/refresh.png"></asp:imagebutton>刷新<asp:label id="thisid" runat="server" Visible="False">0</asp:label></FONT></TD>
				</TR>
				<TR>
					<TD align="left" valign="top" width="20%" style="HEIGHT: 350px"><FONT face="宋体">
							<asp:ListBox id="ListBox1" runat="server" Width="100%" Height="408px" AutoPostBack="True" ForeColor="Black"
								Font-Size="Larger" BackColor="White"></asp:ListBox></FONT>
					</TD>
					<TD colSpan="3" align="left" valign="top" style="HEIGHT: 350px"><asp:datagrid id="DataGrid1" runat="server" Width="100%" AutoGenerateColumns="False" AllowPaging="True"
							PageSize="15">
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="选择">
									<ItemTemplate>
										<INPUT type="radio" onclick='selectproduct("<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>","<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Unit"))%>","<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>","<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Spec"))%>","<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_MarketPrice"))%>","<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_AgentPrice"))%>","<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Code"))%>")' name='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' title='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' value='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>'>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:ButtonColumn Text="编辑" CommandName="Select"></asp:ButtonColumn>
								<asp:BoundColumn DataField="Wsdn_starcrm_id" HeaderText="ID"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="货柜信息" DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="PRODUCT.aspx?pid={0}"
									HeaderText="货柜信息"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="产品名称"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Sname" HeaderText="产品编码"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Unit" HeaderText="单位"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Spec" HeaderText="型号规格"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_From" HeaderText="产地"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_MarketPrice" HeaderText="市场价"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_AgentPrice" 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 CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid>
						<asp:Label id="Label1" runat="server">跳至第</asp:Label>
						<asp:DropDownList id="Tbpage" runat="server"></asp:DropDownList>
						<asp:Label id="Label3" runat="server">页</asp:Label>
						<asp:Button id="Btpage" runat="server" Text="确定"></asp:Button><asp:label id="Lgrid" runat="server">共 条数据，每页 条</asp:label>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="left" colSpan="4"></TD>
				</TR>
				<TR>
					<TD colSpan="4"></TD>
				</TR>
				<TR>
					<TD class="back2" align="right" colSpan="4"></TD>
				</TR>
				<TR>
					<TD style="WIDTH: 200px"></TD>
					<TD></TD>
					<TD></TD>
					<TD></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
