<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="Admin_Group, HoWaveIMSV5.0" title="会员组管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="adminheading">
   <tr>
      <th valign="middle" class="menus" style="height: 54px; width: 629px;" align="left">
          会员组管理</th>
      <td valign="middle" style="height: 54px">
     <asp:ImageButton runat="server" ImageUrl="~/Images/Manage/edit.png"  AlternateText="新增会员组" ID="AddGroup" ImageAlign="Middle" OnClick="AddGroup_Click" /><br />
               新增会员组
      </td>
   </tr>                     
</table>
  <fieldset>
     <legend>会员组管理</legend>
      <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DeleteMethod="DeleteGroup" SelectMethod="GetGroups" TypeName="GroupBLL">
                     <DeleteParameters>
                         <asp:Parameter Name="GroupID" Type="Int32" />
                     </DeleteParameters>
                 </asp:ObjectDataSource>
     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="GroupID" 
          DataSourceID="ObjectDataSource1" Width="100%" CssClass="adminlist">
         <Columns>
             <asp:BoundField DataField="GroupID" HeaderText="ID" InsertVisible="False" ReadOnly="True"/>                            
             <asp:BoundField DataField="GroupName" HeaderText="会员组"/>                            
             <asp:BoundField DataField="GroupIntro" HeaderText="会员组简介" />                             
             <asp:BoundField DataField="GroupType" HeaderText="会员组类型" />                           
             <asp:BoundField DataField="GroupMemberNum" HeaderText="会员组人数" />                         
             <asp:HyperLinkField DataTextField="GroupID" DataNavigateUrlFields="GroupID" 
                  DataNavigateUrlFormatString="Admin_GroupEdit.aspx?GroupID={0}"  DataTextFormatString="修改" /> 
             <asp:CommandField HeaderText="操作" ShowDeleteButton="True" />
         </Columns>
         <RowStyle HorizontalAlign="Center" />
     </asp:GridView>
  </fieldset>
</asp:Content>

