<%@ Page Title="" Language="C#" MasterPageFile="~/helpdesk/Simple.Master" AutoEventWireup="true" CodeBehind="Ad_ChangeOu.aspx.cs" Inherits="helpdesk.helpdesk.Ad_ChangeOu" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 
      
   <table class="table ">
       <tr>
           <th>登录名</th>
           <td>
               <asp:TextBox runat="server" ID="loginname" CssClass="form-control"></asp:TextBox>

           </td>
       </tr>


       <tr>
           <th>
               新名称
           </th>
           <td>

 
               <asp:GridView runat="server" ID="gv"  EnableViewState="false" 
        ClientIDMode="Static" CssClass="table " 
         AutoGenerateColumns="false" AllowPaging="false" 
        GridLines="None"  >

        
<Columns>
     
        
    <asp:TemplateField>
        <HeaderStyle Width="50" />
        <HeaderTemplate></HeaderTemplate>

        <ItemTemplate>

            <input type="radio"  class="xx" name="adpath" value='<%#  ((AdItem)Container.DataItem).AdPath %>  ' />

        </ItemTemplate>

    </asp:TemplateField>
     

    <asp:TemplateField>

        <HeaderStyle Width="200px" />
               <HeaderTemplate>OU名称</HeaderTemplate>
               <ItemTemplate>
            <%#  ((AdItem)Container.DataItem).Name %>  
               </ItemTemplate>

           </asp:TemplateField>

      <asp:TemplateField>
               <HeaderTemplate>ADPath</HeaderTemplate>
               <ItemTemplate>
            <%#  ((AdItem)Container.DataItem).AdPath %>  
               </ItemTemplate>

           </asp:TemplateField>
     




</Columns>


    </asp:GridView>   


           </td>
       </tr>

       <tr>
           <td align="center" colspan="2">


               <asp:Button runat="server" ID="btn_changeOu" Text="更新" CssClass="btn  btn-sm  btn-success" OnClick="btn_changeOu_Click" />

           </td>

       </tr>

   </table>










</asp:Content>
