<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false" CodeBehind="SendRulesManage.aspx.cs" Inherits="DreamerShop.Admin.SendRulesManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextSendMode")%>
			-
			<%=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">
		<SCRIPT language="javascript" id="clientEventHandlersJS">
		<!--


		    function imgHelp_onclick() {
		        popUpWin("DSHelp/SendMode.htm", "Help", 100, 100, 800, 600);
		    }

		    function popUpWin(URLStr, WinName, left, top, width, height) {
		        var popUpWin = 0;
		        if (popUpWin) {

		            if (!popUpWin.closed) popUpWin.close();

		        }

		        popUpWin = open(URLStr, WinName, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=' + width + ',height=' + height + ',left=' + left + ', top=' + top + ',screenX=' + left + ',screenY=' + top + '');
		    }
		//-->
		</SCRIPT>
		<link rel="stylesheet" href="../editor/themes/default/default.css" />
	    <link rel="stylesheet" href="../editor/plugins/code/prettify.css" />
	    <script charset="utf-8" src="../editor/kindeditor.js"></script>
	    <script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
	    <script charset="utf-8" src="../editor/plugins/code/prettify.js"></script>
	    <script>
	        KindEditor.ready(function (K) {
	            var editor1 = K.create('#txtContent', {
	                cssPath: '../editor/plugins/code/prettify.css',
	                uploadJson: '../editor/netfile/upload_json.ashx',
	                fileManagerJson: '../editor/netfile/file_manager_json.ashx',
	                allowFileManager: true,
	                afterCreate: function () {
	                    var self = this;
	                    K.ctrl(document, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                    K.ctrl(self.edit.doc, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                }
	            });
	            prettyPrint();
	        });
            KindEditor.ready(function (K) {
                var editor1 = K.create('#txtPrintFormat', {
	                cssPath: '../editor/plugins/code/prettify.css',
	                uploadJson: '../editor/netfile/upload_json.ashx',
	                fileManagerJson: '../editor/netfile/file_manager_json.ashx',
	                allowFileManager: true,
	                afterCreate: function () {
	                    var self = this;
	                    K.ctrl(document, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                    K.ctrl(self.edit.doc, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                }
	            });
	            prettyPrint();
	        });
	    </script>
	</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%" align="center" border="0">
				<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("TextSendMode")%></SPAN>
														<IMG language=javascript id=imgHelp style="CURSOR: pointer" 
                  onclick="return imgHelp_onclick()" 
                  alt='<%=myLanguagesDeal.GetMyString("TextHelp")%>' 
                  src="../Images/Admin/helpicon.gif"></TD>
													<TD>
														<asp:ImageButton id="btAddNew" runat="server" ImageUrl="../Images/Admin/fb-new.gif" onclick="btAddNew_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("SendModeTextAddNew")%></TD>
												</TR>
											</TABLE>
											<HR noShade SIZE="1">
											<asp:datagrid id="dgList" runat="server" CssClass="table-shangxia" Width="100%" AutoGenerateColumns="False"
												DataKeyField="SendID" AllowPaging="false" PageSize="20" ondeletecommand="dgList_DeleteCommand" 
                                                    oneditcommand="dgList_EditCommand" onitemdatabound="dgList_ItemDataBound">
												<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
												<Columns>
													<asp:BoundColumn DataField="SendMode" HeaderText="TextSendMode">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													 
													<asp:TemplateColumn HeaderText="TextShow">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:CheckBox id="ckShow" runat="server" Checked= '<%# DataBinder.Eval(Container.DataItem, "IsShow")%>'>
															</asp:CheckBox>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="TextTaxis">
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:TextBox ID="txtNOrder" CssClass="wenbenkuang" Width="30" MaxLength="2" EnableViewState=True Text='<%# DataBinder.Eval(Container.DataItem, "SendOrder")%>' AutoPostBack=False runat="server" >
															</asp:TextBox>
															<asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="输入数字" ControlToValidate="txtNOrder"
																Operator="DataTypeCheck" Type="Integer" Display="Dynamic" ForeColor="#FF0000"></asp:CompareValidator>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="TextOperation">
														<HeaderStyle></HeaderStyle>
														<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>
													<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
														<TR>
															<TD class="p12black" align="left"><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><IMG 
                        language=javascript id=imgHelp1 style="CURSOR: pointer" 
                        onclick="return imgHelp_onclick()" 
                        alt='<%=myLanguagesDeal.GetMyString("TextHelp")%>' 
                        src="../Images/Admin/helpicon.gif"></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="770" align="center" bgColor="#cccccc" border="0">
											<TR bgColor="#ffffff">
												<TD align="right" width="120"><%=myLanguagesDeal.GetMyString("TextSendMode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--配送方式：--></TD>
												<TD class="pad" width="650">
													<asp:textbox id="txtSendMode" runat="server" CssClass="wenbenkuang" Width="200px" MaxLength="25"></asp:textbox>
													<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请输入配送方式" Display="Dynamic"
														ControlToValidate="txtSendMode" ForeColor="#FF0000"></asp:requiredfieldvalidator></FONT></TD>
											</TR>
											  
										 
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextIsShow")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--是否显示：--></TD>
												<TD class="pad">
													<asp:checkbox id="ckSelShow" runat="server" Text="显示" Checked="True"></asp:checkbox></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextTaxisNumber")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--排序号：--></TD>
												<TD class="pad">
													<asp:textbox id="txtOrder" runat="server" CssClass="wenbenkuang" Width="50px" MaxLength="2"></asp:textbox>
													<asp:RequiredFieldValidator id="rfvOrder" runat="server" ErrorMessage="请输入排序号" Display="Dynamic"
														ControlToValidate="txtOrder" ForeColor="#FF0000"></asp:RequiredFieldValidator>
													<asp:CompareValidator id="cpvOrder" runat="server" ErrorMessage="请输入整数" Display="Dynamic" ControlToValidate="txtOrder"
														Operator="DataTypeCheck" Type="Integer" ForeColor="#FF0000"></asp:CompareValidator></TD>
											</TR>
                                            <TR bgColor="#ffffff" style="display:none">
													<TD align="right">
														<%=myLanguagesDeal.GetMyString("AdminRoleTextDepotPurview")%></TD>
													<TD class="pad" align=left>
														<asp:CheckBoxList id="cblDepotPurview" runat="server" RepeatDirection="Horizontal" RepeatColumns="3"></asp:CheckBoxList></TD>
												</TR>
											<TR bgColor="#ffffff">
												<TD align="right" width="120"><%=myLanguagesDeal.GetMyString("SendRulesTextLadderInfo")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
												<TD class="pad" width="650">
													<TABLE width="650" border="0">
														<TR>
															<TD width="100"><%=myLanguagesDeal.GetMyString("SendRulesTextRulesType")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
															<TD colSpan="2">
																 <asp:RadioButtonList id="rblRulesType" runat="server" RepeatDirection="Horizontal"  >
														<asp:ListItem Value="0" Selected="True">按重量</asp:ListItem>
														<asp:ListItem Value="1" >按金额</asp:ListItem>
														<asp:ListItem Value="2" >按件数</asp:ListItem>
													</asp:RadioButtonList></TD>
														</TR>
														<TR>
															<TD width="100"></TD>
															<TD colSpan="2">
																<%=myLanguagesDeal.GetMyString("SendRulesTextStartValue")%><asp:textbox id="txtStartValue" runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="8" ValidationGroup="RulesItem"></asp:textbox>
																<asp:CompareValidator id="cpvStartValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtStartValue"
																	Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:CompareValidator>
																<asp:requiredfieldvalidator id="rfvStartValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtStartValue" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:requiredfieldvalidator>
																
																<%=myLanguagesDeal.GetMyString("SendRulesTextStartCharge")%><asp:textbox id="txtStartCharge" runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="8" ValidationGroup="RulesItem"></asp:textbox>
																<asp:CompareValidator id="cpvStartCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtStartCharge"
																	Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:CompareValidator>
																<asp:requiredfieldvalidator id="rfvStartCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtStartCharge" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:requiredfieldvalidator>
																</TD>
														</TR>
														<TR>
															<TD></TD>
															<TD colSpan="2">
																<%=myLanguagesDeal.GetMyString("SendRulesTextLadderValue")%><asp:textbox id="txtLadderValue" runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="8" ValidationGroup="RulesItem"></asp:textbox>
																<asp:CompareValidator id="cpvLadderValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtLadderValue"
																	Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:CompareValidator>
																<asp:requiredfieldvalidator id="rfvLadderValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtLadderValue" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:requiredfieldvalidator>
																
																<%=myLanguagesDeal.GetMyString("SendRulesTextLadderCharge")%><asp:textbox id="txtLadderCharge" runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="8" ValidationGroup="RulesItem"></asp:textbox>
																<asp:CompareValidator id="cpvLadderCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtLadderCharge"
																	Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:CompareValidator>
																<asp:requiredfieldvalidator id="rfvLadderCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtLadderCharge" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:requiredfieldvalidator> 
																</TD>
														</TR>
														<TR>
															<TD> </TD>
															<TD>
																<%=myLanguagesDeal.GetMyString("SendRulesTextEndValue")%><asp:textbox id="txtEndValue" runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="8" ValidationGroup="RulesItem"></asp:textbox>
																<asp:CompareValidator id="cpvEndValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtEndValue"
																	Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:CompareValidator>
																	
																&nbsp;<%=myLanguagesDeal.GetMyString("SendRulesTextEndCharge")%><asp:textbox id="txtEndCharge" runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="8" ValidationGroup="RulesItem"></asp:textbox>
																<asp:CompareValidator id="cpvEndCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtEndCharge"
																	Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000" ValidationGroup="RulesItem"></asp:CompareValidator>
																 </TD>
														</TR>
														<TR>
															<TD><%=myLanguagesDeal.GetMyString("SendRulesTextAreaID")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
															<TD>
																<asp:ListBox id="ltbAreaID" runat="server" CssClass="wenbenkuang" Width="221px" Height="150px"
																	SelectionMode="Multiple" Visible="false"></asp:ListBox>
                                                                 <div style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 200px">
                                                                  <asp:TreeView ID="tvArea" runat="server" ExpandDepth="1"  NodeIndent="10"   ontreenodepopulate="tvArea_TreeNodePopulate"  Height="240"></asp:TreeView>
																 </div>
                                                                 </TD>
														</TR>
														<TR>
															<TD></TD>
															<TD colSpan="2">
																<asp:button id="btLadderAddItem" runat="server" CssClass="go-wenbenkuang" CausesValidation="true"
																	Text="添加" onclick="btLadderAddItem_Click"  ValidationGroup="RulesItem"></asp:button></TD>
														</TR>
													</TABLE>
													<asp:datagrid id="dgLadderItem" runat="server" DataKeyField="RulesID" 
                                                        Width="100%" AutoGenerateColumns="False" 
                                                        ondeletecommand="dgLadderItem_DeleteCommand" 
                                                        onitemdatabound="dgLadderItem_ItemDataBound">
														<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
														<Columns>
															<asp:BoundColumn DataField="RulesTypeName" HeaderText="SendRulesTextRulesType">
														        <HeaderStyle></HeaderStyle>
														        <ItemStyle HorizontalAlign="Center"></ItemStyle>
													        </asp:BoundColumn>
                                                            <asp:TemplateColumn HeaderText="SendRulesTextStartValue">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:textbox id="txtItemStartValue" Text='<%# DataBinder.Eval(Container.DataItem, "StartValue")%>' runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="10">
																	</asp:textbox>
																	<asp:CompareValidator id="cpvItemStartValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtItemStartValue"
																		Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="SendRulesTextStartCharge">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:textbox id="txtItemStartCharge" Text='<%# DataBinder.Eval(Container.DataItem, "StartCharge")%>' runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="10">
																	</asp:textbox>
																	<asp:CompareValidator id="cpvItemStartCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtItemStartCharge"
																		Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="SendRulesTextLadderValue">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:textbox id="txtItemLadderValue" Text='<%# DataBinder.Eval(Container.DataItem, "LadderValue")%>' runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="10">
																	</asp:textbox>
																	<asp:CompareValidator id="cpvItemLadderValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtItemLadderValue"
																		Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="SendRulesTextLadderCharge">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:textbox id="txtItemLadderCharge" Text='<%# DataBinder.Eval(Container.DataItem, "LadderCharge")%>' runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="10">
																	</asp:textbox>
																	<asp:CompareValidator id="cpvItemLadderCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtItemLadderCharge"
																		Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="SendRulesTextEndValue">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:textbox id="txtItemEndValue" Text='<%# DataBinder.Eval(Container.DataItem, "EndValue")%>' runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="10">
																	</asp:textbox>
																	<asp:CompareValidator id="cpvItemEndValue" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtItemEndValue"
																		Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="SendRulesTextEndCharge">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:textbox id="txtItemEndCharge" Text='<%# DataBinder.Eval(Container.DataItem, "EndCharge")%>' runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="10">
																	</asp:textbox>
																	<asp:CompareValidator id="cpvItemEndCharge" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtItemEndCharge"
																		Type="Double" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="SendRulesTextAreaID">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:textbox id="txtItemAreaID" runat="server" CssClass="wenbenkuang" Width="50px"  ReadOnly="true"></asp:textbox><asp:Label id="lbItemAreaID" runat="server"  Visible="false" Text='<%# DataBinder.Eval(Container.DataItem, "AreaID")%>'></asp:Label><asp:Label id="lbItemRulesType" runat="server"  Visible="false" Text='<%# DataBinder.Eval(Container.DataItem, "RulesType")%>'></asp:Label>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="TextOperation">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:Button id="btLadderItemDel" Text="删除" CssClass="go-wenbenkuang" CommandName="Delete" Runat="server"
																		CausesValidation="false"></asp:Button>
																</ItemTemplate>
															</asp:TemplateColumn>
														</Columns>
													</asp:datagrid></FONT></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextExplain")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--说明：--></TD>
												<TD class="pad">
													<textarea id="txtContent" cols="100" rows="8" style="width:500px;height:200px;visibility:hidden;" runat="server" ></textarea>
                                                   </TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("SendModeTextPrintFormat")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--说明：--></TD>
												<TD class="pad">
													<textarea id="txtPrintFormat" cols="100" rows="8" style="width:500px;height:200px;visibility:hidden;" runat="server" ></textarea> </TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right" width="120"></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>
		 
	</body>
</HTML>
