<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="Admin_Admin_LabelParms, mallz" title="标签参数设置" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table class="adminheading">                       
   <tr>
      <th>设置标签参数</th> 
      <td align="right"><div style="width:50px"><a href="Admin_Lable.aspx">返回</a></div></td>
      <td class="rtdw"></td>
   </tr>                        
</table> 

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false"  CssClass="adminlist"
          OnRowEditing="GridView1_RowEditing" OnRowUpdating="GirdView1_RowUpdatting"  
          OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" >
          <Columns>
             <asp:BoundField DataField="name"  HeaderText="参数名称"  />
             <asp:BoundField DataField="default" HeaderText="默认值"/>
             <asp:BoundField DataField="intro" HeaderText="参数说明" />           
             <asp:CommandField ShowEditButton="true" EditText="修改" ShowDeleteButton="true" ButtonType="Button" HeaderText="操作" />
          </Columns>
          <EmptyDataTemplate>
             <tr>
                <th>参数名称</th>
                <th>默认值</th>
                <th>参数说明</th>
                <th>操  作</th>
             </tr>
          </EmptyDataTemplate>
       </asp:GridView>
       
       <table class="adminlist" style="border-top:0;">
          <tr>
             <td><asp:TextBox ID="AddName" runat="server" Text="参数名称" /></td>
             <td><asp:TextBox ID="AddDefault" runat="server"  Text="默认值"/></td>
             <td><asp:TextBox ID="AddIntro" runat="server" Text="参数说明"  Width="200px"/></td>
             <td><asp:Button ID="AddButton" runat="server" Text="添加"  OnClick="AddButton_Click"  CausesValidation="true"/></td>
          </tr>
       </table> 
       
       <asp:Button  ID="PreStepButton" runat="server" Text="上一步"  OnClick="PreStepButton_Click" CausesValidation="false"/>&nbsp;
       <asp:Button  ID="NextStepButton" runat="server" Text="下一步" OnClick="NextStepButton_Click" CausesValidation="false"/>&nbsp;      
       <asp:Button ID="UpdateButton" runat="server" Text="保　存" OnClick="UpdateButton_Click" CausesValidation="false" Visible="false"/>&nbsp;
       <input id="BtnCancel" type="button" value="取　消" onclick="window.location.href='Admin_Lable.aspx'"  />
       <asp:HiddenField ID="h_parms" runat="server" />
       <asp:HiddenField ID="h_labeDatalType" runat="server" />
       <asp:HiddenField ID="h_OutType" runat="server" />

</asp:Content>

