<%@Page Language="C#" Inherits="IWMS.Pages.MemberPaid" 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="articleid"
				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:TemplateColumn
					HeaderText="消费内容"
					>
					<ItemTemplate>
					<a href="<%#GetUrl((System.Data.DataRowView)Container.DataItem)%>" target="_blank"><%#Eval("title")%></a>
					</ItemTemplate>
				</asp:TemplateColumn>
				<asp:BoundColumn
					HeaderText="消费金额"
					DataField="paySum"
					DataFormatString="{0:f2}"
					>
					<HeaderStyle Width="80" HorizontalAlign="center" />
					<ItemStyle HorizontalAlign="center"/>
				</asp:BoundColumn>
				<asp:BoundColumn
					HeaderText="消费日期"
					DataField="payDate"
					DataFormatString="{0:yyyy-dd-MM}"
					>
					<HeaderStyle Width="100" HorizontalAlign="center" />
					<ItemStyle HorizontalAlign="center"/>
				</asp:BoundColumn>
			</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>