<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PItemsControl.ascx.cs" Inherits="Dotnetcms.Web.UserControls.PItemsControl" %>


 <div style=" font-family:微软雅黑; font-size:12px;">

<b>
<asp:Label runat="server" ID="lblname"></asp:Label>
</b>
 
 
   

    <asp:GridView ID="gv" runat="server"   GridLines="None" 
     Width="500px"   
    AutoGenerateColumns="true"  
    OnRowDeleting="gv_RowDeleting"  
    OnRowEditing="gv_RowEditing"
     OnRowUpdating="gv_RowUpdating"  
     OnRowCancelingEdit="gv_RowCancelingEdit" 
     
     >
    
     <HeaderStyle BackColor="#E0E0E0" Font-Bold="True" HorizontalAlign="Center" />
    <AlternatingRowStyle BackColor="#F2F2F2" />
     <RowStyle BackColor="#ffffff"  Height="28"/>
    <PagerSettings Mode="NumericFirstLast" />    
    
    <Columns> 
     
    </Columns>
    </asp:GridView>
    <br />  <br />

    <asp:Panel runat="server" id="pnl_add">
 
 <br />
 名称：<asp:TextBox ID="name" runat="server" class="common-text" ></asp:TextBox> &nbsp;&nbsp;
 <asp:Button ID="btn_add" OnClick="AddRow" runat="server" Text="添加新值 " class="btn btn-info"  />





  <asp:TextBox ID="value" runat="server" Visible="false"></asp:TextBox> 
  
  </asp:Panel>


 

    </div>
     