<%@ Page language="c#" Codebehind="FloatPriceManage.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.FloatPriceManage" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextSendFloatPrice")%>
			-
			<%=mConfigInf.strWebTitle%>
		</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<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">
		<META content="<%=mConfigInf.strDescription%>" name=description>
		<META content="<%=mConfigInf.strKeywords%>" name=keywords>
		<LINK href="../StyleSheet1.css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:Label id="lbEditID" runat="server" Visible="false"></asp:Label>
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
			<table cellSpacing="0" cellPadding="0" width="97%" border="0" align="center">
				<tr>
					<td vAlign="top" height="262">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td vAlign="top" bgColor="#ffffff" height="300"><FONT face="宋体"><asp:panel id="Pan1" runat="server">
											<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
												<TR>
													<TD class="p12black"><SPAN class="p9orange"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextPayAndSend")%>
															--&gt;<%=myLanguagesDeal.GetMyString("TextSendFloatPrice")%>
														</SPAN>
													</TD>
													<TD>
														<asp:ImageButton id="btAddNew" runat="server" ImageUrl="../Images/Admin/fb-new.gif" onclick="btAddNew_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("FloatPriceAddNew")%><!--新增浮动价格--></TD>
												</TR>
											</TABLE>
											<HR noShade SIZE="1">
											<asp:datagrid id="dgList" runat="server" CssClass="table-shangxia" Width="100%" AutoGenerateColumns="False"
												DataKeyField="FloatID" AllowPaging="false" PageSize="20">
												<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
												<Columns>
													<asp:BoundColumn DataField="FloatName" HeaderText="浮动名称">
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													<asp:TemplateColumn HeaderText="浮动金额(类型一)">
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:TextBox ID="txtFloat1" CssClass="wenbenkuang" Width="40" MaxLength="6" EnableViewState=True Text='<%# DataBinder.Eval(Container.DataItem, "FloatPrice1")%>' AutoPostBack=False runat="server" >
															</asp:TextBox>
															<asp:CompareValidator id="Comparevalidator2" runat="server" ErrorMessage="输入数字" ControlToValidate="txtFloat1"
																Operator="DataTypeCheck" Type="Double" Display="Dynamic" ForeColor="#FF0000"></asp:CompareValidator>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="浮动金额(类型二)">
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:TextBox ID="txtFloat2" CssClass="wenbenkuang" Width="40" MaxLength="6" EnableViewState=True Text='<%# DataBinder.Eval(Container.DataItem, "FloatPrice2")%>' AutoPostBack=False runat="server" >
															</asp:TextBox>
															<asp:CompareValidator id="Comparevalidator4" runat="server" ErrorMessage="输入数字" ControlToValidate="txtFloat2"
																Operator="DataTypeCheck" Type="Double" Display="Dynamic" ForeColor="#FF0000"></asp:CompareValidator>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="浮动金额(类型三)">
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:TextBox ID="txtFloat3" CssClass="wenbenkuang" Width="40" MaxLength="6" EnableViewState=True Text='<%# DataBinder.Eval(Container.DataItem, "FloatPrice3")%>' AutoPostBack=False runat="server" >
															</asp:TextBox>
															<asp:CompareValidator id="Comparevalidator5" runat="server" ErrorMessage="输入数字" ControlToValidate="txtFloat3"
																Operator="DataTypeCheck" Type="Double" Display="Dynamic" ForeColor="#FF0000"></asp:CompareValidator>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="操作">
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:Button id="btUpdate" Text="更新" CssClass="go-wenbenkuang" CommandName="Update" Runat="server"></asp:Button>
															<asp:Button id="btEdit" Text="修改" CssClass="go-wenbenkuang" CommandName="Edit" Runat="server"></asp:Button>
															<asp:Button id="btDelete" Text="删除" CssClass="go-wenbenkuang" CommandName="Delete" Runat="server"></asp:Button>
														</ItemTemplate>
													</asp:TemplateColumn>
												</Columns>
												<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
											</asp:datagrid>
										</asp:panel>
									</FONT>
									<asp:panel id="Pan2" runat="server" Visible="False">
										<TABLE class="p9black" cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TR>
												<TD style="WIDTH: 711px">
													<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
														<TR>
															<TD class="p12black" align="left" width="250"><SPAN class="p9orange"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextPayAndSend")%>--&gt;
																	<asp:Label id="lbMessage" runat="server"></asp:Label></SPAN></TD>
															<TD align="right" width="50"><!--BUTTON_BEGIN-->
																<TABLE>
																	<TR>
																		<TD vAlign="bottom" noWrap>
																			<asp:ImageButton id="ibtReturn" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif" CausesValidation="False" onclick="ibtReturn_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%></TD>
																	</TR>
																</TABLE>
															</TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
										</TABLE>
										<HR noShade SIZE="1">
										<TABLE cellSpacing="1" cellPadding="5" width="650" align="center" bgColor="#cccccc" border="0">
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("FloatPriceFloatName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--浮动方式：--></TD>
												<TD class="pad" width="70%">
													<asp:textbox id="txtFloatName" runat="server" CssClass="wenbenkuang" Width="200px" MaxLength="25"></asp:textbox>
													<asp:requiredfieldvalidator id="Requiredfieldvalidator3" runat="server" ErrorMessage="请输入浮动名称" Display="Dynamic"
														ControlToValidate="txtFloatName" ForeColor="#FF0000"></asp:requiredfieldvalidator></FONT></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("FloatPriceFloatPriceTitle1")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--金额(类型一)(单价)：--></TD>
												<TD class="pad">
													<asp:TextBox id="txtFloatPrice1" runat="server" CssClass="wenbenkuang" Width="40px" MaxLength="6"
														EnableViewState="True" AutoPostBack="False"></asp:TextBox>
													<asp:CompareValidator id="Comparevalidator6" runat="server" ErrorMessage="输入数字" Display="Dynamic" ControlToValidate="txtFloatPrice1"
														Operator="DataTypeCheck" Type="Double" ForeColor="#FF0000"></asp:CompareValidator></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("FloatPriceFloatPriceTitle2")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--金额(类型二)(单价)：--></TD>
												<TD class="pad">
													<asp:TextBox id="txtFloatPrice2" runat="server" CssClass="wenbenkuang" Width="40px" MaxLength="6"
														EnableViewState="True" AutoPostBack="False"></asp:TextBox>
													<asp:CompareValidator id="Comparevalidator7" runat="server" ErrorMessage="输入数字" Display="Dynamic" ControlToValidate="txtFloatPrice2"
														Operator="DataTypeCheck" Type="Double" ForeColor="#FF0000"></asp:CompareValidator></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("FloatPriceFloatPriceTitle3")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--金额(类型三)(单价)：--></TD>
												<TD class="pad">
													<asp:TextBox id="txtFloatPrice3" runat="server" CssClass="wenbenkuang" Width="40" MaxLength="6"
														EnableViewState="True" AutoPostBack="False"></asp:TextBox>
													<asp:CompareValidator id="Comparevalidator8" runat="server" ErrorMessage="输入数字" Display="Dynamic" ControlToValidate="txtFloatPrice3"
														Operator="DataTypeCheck" Type="Double" ForeColor="#FF0000"></asp:CompareValidator></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right" width="20%"></TD>
												<TD class="pad">&nbsp;
													<asp:button id="btSubmit" runat="server" CssClass="go-wenbenkuang" Text="提交信息" onclick="btSubmit_Click"></asp:button>
													<asp:button id="btSave" runat="server" CssClass="go-wenbenkuang" Text="更新信息" onclick="btSave_Click"></asp:button>&nbsp;&nbsp;
												</TD>
											</TR>
										</TABLE>
										<P align="center">
											<asp:Label id="lbInfo" runat="server" ForeColor="Red"></asp:Label></P>
									</asp:panel>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
		</TR></TBODY></TABLE>
	</body>
</HTML>
