<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VarTAGLB.aspx.cs" Inherits="KstCMS.KstCMS_Manager.WebSet.Template.mytag.VarTAGLB" %>

<html>
<head id="Head1"   runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div class="mainbox" style="padding-top:6px">

        <asp:Panel ID="Panel1" runat="server">
       
<asp:Repeater ID="RepMain" runat="server">
       <HeaderTemplate>    
       <table width="100%" border="0" cellspacing="1" cellpadding="5" class="Table_Gray">
  <tr class="TableHeader">
    <td>ID</td>
    <td>类别名称</td>
    <td>操作</td>
  </tr>
  </HeaderTemplate>
  <ItemTemplate>
  <tr class="TableTd_Gray">
    <td align="center"><%#DataBinder.Eval(Container.DataItem,"VarLBID") %></td>
    <td align="center">
        <input type="text" class="input_text"  size="50" name="TagLBNAME_<%#DataBinder.Eval(Container.DataItem,"VarLBID") %>" value="<%#DataBinder.Eval(Container.DataItem,"VarNAME") %>" />
    </td>

    <td align="center">
        <asp:Button ID="Button1" runat="server" Text="删除" CommandArgument="1" CommandName=<%#DataBinder.Eval(Container.DataItem,"VarLBID") %>  OnClientClick="return confirm('真的删除些标签码？');" />
       <asp:Button ID="Button2" runat="server" Text="修改" CommandArgument="0" CommandName=<%#DataBinder.Eval(Container.DataItem,"VarLBID") %> />
    </td>
  </tr>
  </ItemTemplate>
  <AlternatingItemTemplate>
    <tr class="TableTd_Gray1">
    <td align="center"><%#DataBinder.Eval(Container.DataItem,"VarLBID") %></td>
    <td align="center">
        <input type="text" class="input_text"  size="50" name="TagLBNAME_<%#DataBinder.Eval(Container.DataItem,"VarLBID") %>" value="<%#DataBinder.Eval(Container.DataItem,"VarNAME") %>" />
    </td>

    <td align="center">
        <asp:Button ID="Button1" runat="server" Text="删除" CommandArgument="1" CommandName=<%#DataBinder.Eval(Container.DataItem,"VarLBID") %>  OnClientClick="return confirm('真的删除些标签码？');" />
       <asp:Button ID="Button2" runat="server" Text="修改" CommandArgument="0" CommandName=<%#DataBinder.Eval(Container.DataItem,"VarLBID") %> />
    </td>
  </tr>
  </AlternatingItemTemplate>
  <FooterTemplate>
</table>
</FooterTemplate>
   </asp:Repeater>   

 </asp:Panel>
 <div style="padding:6px">
        <asp:Label ID="Label1" runat="server" Text="类别名称："></asp:Label><asp:TextBox ID="txt_TagLBNAME" MaxLength="50" CssClass="input_text"
            runat="server"></asp:TextBox> 
        <asp:Button ID="Button3" runat="server" Text="增加" CssClass="uPageBtn1" OnClientClick="var txt=this.form.txt_TagLBNAME.value;if(txt==''){alert('请输入类别名称！');return false;}else{return true;}" />
        </div>
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
    <ProgressTemplate>正在处理中，请稍候...</ProgressTemplate>
    </asp:UpdateProgress>
    </form>
</body>
</html>