<%@ Page language="c#" Codebehind="ShippingPrice.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.ShippingPrice" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
	    <!--#include file="inc/head.inc"-->
		<title>ShippingPrice</title>
	</HEAD>
	<body>
	    <div class="container">
		<div class="sub_container">
		<div class="sub_container_title"><a href="../default.aspx" target="_blank">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />配送价格设定</div>
		<div class="sub_container_content">
		<form id="Form1" method="post" runat="server">
		    <div class="frame">
		        <div class="frame_title"><asp:label id="lblAction" runat="server" CssClass="tableHeaderText">配送价格设定</asp:label></div>
		        <div class="frame_content">
		            <table class="tableBorder" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				        <tr>
					        <td align="center" height="23"><asp:dropdownlist id="ddlArea" runat="server"></asp:dropdownlist><asp:dropdownlist id="ddlShipping" runat="server"></asp:dropdownlist><asp:button id="btnSet" runat="server" Text="设定"></asp:button></td>
				        </tr>
				        <tr>
					        <td align="center" class="forumRowHighlight"><asp:label id="lblInfo" runat="server"></asp:label><asp:datagrid id="dgShippingPrice" runat="server" HorizontalAlign="Center" Width="100%" DataKeyField="PriceID"
							        AutoGenerateColumns="False" AllowPaging="False" HeaderStyle-CssClass="summary-title">
							        <HeaderStyle Font-Bold="True"></HeaderStyle>
							        <Columns>
								        <asp:TemplateColumn HeaderText="&lt;img src='images/admin_help.gif'&gt;">
									        <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
									        <ItemStyle HorizontalAlign="Right" Width="200px"></ItemStyle>
									        <ItemTemplate>
										        <b>
											        <%# DataBinder.Eval(Container.DataItem, "AreaName") %>
										        </b>
									        </ItemTemplate>
								        </asp:TemplateColumn>
								        <asp:TemplateColumn HeaderText='ddd'>
									        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									        <ItemStyle HorizontalAlign="Center"></ItemStyle>
									        <ItemTemplate>
										        <asp:TextBox ID="txtExpression" Runat=server Text='<%# DataBinder.Eval(Container.DataItem, "Expression") %>'>
										        </asp:TextBox>
									        </ItemTemplate>
								        </asp:TemplateColumn>
							        </Columns>
						        </asp:datagrid>
						        <asp:Button id="btnSave" runat="server" Text="修改" Visible="False"></asp:Button></td>
				        </tr>
			        </table>
			        <table class="tableBorder" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				        <tr>
					        <td>注：(如“20+(c(w/0.5)-1)*6”代表首重为20元次重为6元，单位重量为0.5千克的配送费用)<FONT face="宋体"><BR>
											        字母“w”表示订单物品总重量<BR>
											        字母“p”代表订单总金额<BR>
											        字母“q”代表订单物品总数量<br>
											        字符“c()”代表“ceiling”，指偏大取整（如c(0.4/0.5)=1）</font><font color=red>*Access版本不支持此函数</font></td>
				        </tr>
			        </table>
		        </div>
	        </div>
		</form>
		</div>
		</div>
		</div>
	</body>
</HTML>
