<%@ Page language="c#" Codebehind="MemberGroup.aspx.cs" AutoEventWireup="false" Inherits="wqeshop.Admin.MemberGroup" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>MemberGroup</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="inc/style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
<table width="100%" height="550" style="border:1px #619ADF solid; border-left:0;margin-top:6px; margin-right:7px;background:#F2F7FD;" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="tl"></td>
		<td class="tm"><span class="tt">会员管理 &gt;&gt; 会员组管理</span></td>
		<td class="tm2"><span class="tt"><a href="http://www.wangqi.com" target="_blank"><img src="Images/admin_help.gif" border="0" alt="帮助"></a></span></td>
		<td class="tr"></td>
	</tr>
</table>
</div>
<div class="mframe">
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="tl"></td>
		<td class="tm"><div class="tt">&nbsp; 会员组管理</div></td>
		<td class="tr"></td>
	</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
    <td  class="mm" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#EBF3FE" valign="top" style=" border-right:1px #77ABE5 solid;">
<table width="90%"  cellspacing="0" cellpadding="0">
	<tr>
		<td class="ml1"></td>
		<td class="mm1">
			<table class="tableBorder" cellSpacing="0" cellPadding="0" width="640" align="center" border="0">
				<tr>
					<td class="forumRowHighlight" height="23"><asp:datagrid id="dgList" runat="server" AllowPaging="False" PagerStyle-Mode="NumericPages" AutoGenerateColumns="False"
							DataKeyField="MemberGroupID" Width="100%" HorizontalAlign="Center" HeaderStyle-CssClass="summary-title">
							<HeaderStyle Font-Bold="True"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="会员组名称" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"
									ItemStyle-Width="120">
									<ItemTemplate>
										<%#DataBinder.Eval(Container.DataItem,"GroupName")%>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="折扣" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"
									ItemStyle-Width="120">
									<ItemTemplate>
										<%#DataBinder.Eval(Container.DataItem,"Discount")%>
										%
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="会员数量" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
									<ItemTemplate>
										<%# GetNumber(DataBinder.Eval(Container.DataItem,"MemberGroupID").ToString())%>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="" ItemStyle-Width="30" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
									<HeaderStyle></HeaderStyle>
									<ItemTemplate>
										<a href='MemberGroupAdd.aspx?GroupID=<%#DataBinder.Eval(Container.DataItem,"MemberGroupID")%>'>
											修改</a>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:ButtonColumn ItemStyle-Width="30" ItemStyle-HorizontalAlign="Center" Text="&lt;div id=&quot;de&quot; onclick=&quot;javascript:return confirm('此删除操作将把该类会员转变为普通会员，真的要删除吗？')&quot;&gt;删除&lt;/div&gt;"
									HeaderText="" CommandName="Delete"></asp:ButtonColumn>
							</Columns>
						</asp:datagrid></td>
				</tr>
			</table>
			<table>
				<tr>
					<td height="10"></td>
				</tr>
			</table>
			<table class="tableBorder" cellSpacing="0" cellPadding="0" width="640" align="center" border="0">
				<tr>
					<td width="40%" align="right">
						选择会员组：<asp:DropDownList id="ddl1" runat="server" AutoPostBack="True"></asp:DropDownList></td>
					<td width="20%"></td>
					<td width="40%">
						选择会员组：<asp:DropDownList id="ddl2" runat="server" AutoPostBack="True"></asp:DropDownList></td>
				</tr>
				<tr>
					<td align="right">
						<asp:ListBox id="lb1" runat="server" Width="200" Height="200" SelectionMode="Multiple"></asp:ListBox></td>
					<td align="center">
						<asp:Button id="Button1" runat="server" Text="＞＞"></asp:Button><br>
						<br>
						<asp:Button id="Button2" runat="server" Text="＜＜"></asp:Button></td>
					<td>
						<asp:ListBox id="lb2" runat="server" Width="200" Height="200" SelectionMode="Multiple"></asp:ListBox></td>
				</tr>
			</table>
		</td>
		<td class="mr1"></td>
	</tr>
</table>
</td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
