<%@Page Language="C#" Inherits="IWMS.Pages.MemberCharges" SmartNavigation="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<!--#include file="inc/html_head.inc"-->
</head>
<body>

<!--#include file="head.inc" -->
<div id="navbar">
<div class="l"></div>
<div class="r"></div>
<div class="m">
	<!--#include file="inc/navclass.inc"-->
</div>
</div>

<div id="navsub">
<div class="l"></div>
<div class="r"></div>
<div class="m">

</div>
</div>

<div id="middle">
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top"><td>

	<form id="myForm" runat="server">
	
	<div class="mframe mR">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<span class="tt">充值记录</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<asp:Label id="msg" width="100%" style="text-align:center" runat="server"/>
		<ASP:DataGrid id="myGrid" runat="server"
				Width="100%"
				align="center"
				ShowHeader="true"
				ShowFooter="false"
				CellPadding="6"
				CellSpacing="0"
				AutoGenerateColumns="false"
				DataKeyField="id"
				OnItemDataBound="myGrid_ItemDataBound"
				CssClass="grid"
				HeaderStyle-CssClass="gridHead"
				ItemStyle-CssClass="tdbg"
				AllowPaging="true"
				OnPageIndexChanged="myGrid_Page"
				PageSize="15"
				>
			<HeaderStyle HorizontalAlign="center" Height="20" />
			<ItemStyle Height="20" />
			<EditItemStyle CssClass="tdbg-dark" />
			
			<Columns>
				<asp:BoundColumn
					HeaderText="ID"
					DataField="id"
					DataFormatString="{0:d}"
					>
					<HeaderStyle Width="50" HorizontalAlign="center"/>
					<ItemStyle HorizontalAlign="center"/>
				</asp:BoundColumn>
				<asp:BoundColumn
					HeaderText="充值金额"
					DataField="chargeSum"
					DataFormatString="{0:f2}"
					>
					<HeaderStyle HorizontalAlign="center" />
					<ItemStyle HorizontalAlign="center"/>
				</asp:BoundColumn>
				<asp:BoundColumn
					HeaderText="充值日期"
					DataField="chargeDate"
					DataFormatString="{0:yyyy-MM-dd HH:mm}"
					>
					<HeaderStyle Width="150" HorizontalAlign="center" />
					<ItemStyle HorizontalAlign="center"/>
				</asp:BoundColumn>
				<asp:TemplateColumn
					HeaderText="是否到账"
					>
					<ItemTemplate>
						<%#(bool)Eval("received") ? "是" : "否"%>
					</ItemTemplate>
					<HeaderStyle Width="100" HorizontalAlign="center" />
					<ItemStyle HorizontalAlign="center"/>
				</asp:TemplateColumn>
				
			</Columns>
		</ASP:DataGrid>		
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	</form>
</td>
<td width="160">
	<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<span class="tt">个人中心</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<!--#include file="inc/memberNav.inc"-->
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
</td></tr>
</table>
</div>

<!--#include file="foot.inc"-->
</body>
</html>