<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="zpkcon.aspx.cs" Inherits="web.admin.zpkcon" %>

<!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" >
<head id="Head1" runat="server">
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
    <title>会员卡消费记录查看</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
         
				<tr>
					<td  class="forumRowHighlight">
						<asp:datagrid id="dgList" runat="server" PageSize="5" PagerStyle-Mode="NumericPages" AutoGenerateColumns="False"
							DataKeyField="id" Width="100%" HorizontalAlign="Center" HeaderStyle-CssClass="summary-title"
							AllowPaging="True" BorderColor="#E0E0E0" BorderWidth="1px">
							<HeaderStyle Font-Bold="False" CssClass="head" BackColor="#EDF6FF" Height="31px"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="卡号">
									<HeaderStyle HorizontalAlign="Center" Width="80px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></ItemStyle>
									<ItemTemplate>
										<%# DataBinder.Eval(Container.DataItem, "carno") %>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="卡名称">
									<HeaderStyle HorizontalAlign="Center" Width="100px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></ItemStyle>
									<ItemTemplate>
										<%# DataBinder.Eval(Container.DataItem, "carname")%>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="对应的订单号">
									<HeaderStyle HorizontalAlign="Center"  Width="110px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></ItemStyle>
									<ItemTemplate>
										<%# DataBinder.Eval(Container.DataItem, "orderno") %>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="商品ID">
									<HeaderStyle HorizontalAlign="Center" Width="60px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></ItemStyle>
									<ItemTemplate>
										<%# DataBinder.Eval(Container.DataItem, "pid") %>
									</ItemTemplate>
								</asp:TemplateColumn>
						
								
									<asp:TemplateColumn HeaderText="商品名称">
									<HeaderStyle HorizontalAlign="Center" Width="200px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></ItemStyle>
									<ItemTemplate>
											<%# DataBinder.Eval(Container.DataItem, "proname") %>
									</ItemTemplate>
								</asp:TemplateColumn>
									<asp:TemplateColumn HeaderText="对应消费额">
									<HeaderStyle HorizontalAlign="Center" Width="70px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></ItemStyle>
									<ItemTemplate>
										<%# string.Format("{0:f}", DataBinder.Eval(Container.DataItem, "cshu")).ToString() %>
											
									</ItemTemplate>
								</asp:TemplateColumn>
								
									<asp:TemplateColumn HeaderText="消费时间" >
									<HeaderStyle HorizontalAlign="Center" Width="70px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></ItemStyle>
									<ItemTemplate>
									 <%# DataBinder.Eval(Container.DataItem, "addtime") %>
										
									</ItemTemplate>
								</asp:TemplateColumn>
								
							
							</Columns>
							<PagerStyle Mode="NumericPages" Height="26px"></PagerStyle>
                            <ItemStyle Height="27px" />
                            <AlternatingItemStyle BackColor="#F4F4F4" />
						</asp:datagrid>
						<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" id="tablePage">
							<TR height="35">
								<TD vAlign="middle" style="width: 432px">
									<asp:label id="lblPager" Runat="server"></asp:label></TD>
								<TD vAlign="middle" align="right">
                                    <input id="controlID" runat="server" name="controlID" type="hidden" />
                                    &nbsp;&nbsp;
                                </TD>
							</TR>
						</TABLE>
					</td>
				</tr>
			</table>
    </div>
    </form>
</body>
</html>
