<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConsumeDetail.aspx.cs" Inherits="WebXabara_money_ConsumeDetail" %>
<!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">
    <title>汇款单</title>
    <link href="../InClude/StyleSheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
	    margin-left: 0px;margin-top: 15px;margin-right: 10px;margin-bottom: 10px;
    }
    -->
    </style>
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    
    <script src="/js/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">     
      <div class="divWidth">
        <div class="titleBg">汇款单
          <asp:TextBox ID="searchWord" 
                  runat="server" CssClass="inputText" Width="120px" ToolTip="输入用户名或订单号搜索"></asp:TextBox>
              <asp:Button ID="SearchButton" runat="server" CssClass="inputBottom" Text="搜索" 
                  onclick="SearchButton_Click" />
              <asp:RequiredFieldValidator  SetFocusOnError="True"  ID="RequiredFieldValidator1" runat="server" 
                  ControlToValidate="searchWord" ErrorMessage="请输入关键词"></asp:RequiredFieldValidator></div>
        <div class="height10px"></div> 
      
      <asp:Repeater ID="RepeaterList" runat="server">
      
      <HeaderTemplate>
      <table width="100%" class="tableLine">
        <tr>          
          <td class="trTitleBG">用户名</td>
          <td class="trTitleBG">凭证单号</td>
          <td class="trTitleBG">入账</td>
          <td class="trTitleBG">支出</td>
          <td class="trTitleBG">余额</td>
          <td class="trTitleBG">消费额</td>
          <td class="trTitleBG">提交时间</td>          
          <td class="trTitleBG">备注</td>
        </tr>
        </HeaderTemplate>
        
        <ItemTemplate>
        <tr>
            <td><%# Eval("uID").ToString().Trim()%></td>
            <td><%# Eval("orderID").ToString().Trim()%></td> 
            <td><%# getM(Eval("addMoney").ToString().Trim())%></td>            
            <td><%# getM(Eval("subtractMoney").ToString().Trim())%></td>
            <td><%# getM(Eval("nowMoney").ToString().Trim())%></td>
            <td><%# getM(Eval("buyMoney").ToString().Trim())%></td>
            <td style="text-align:center;"><%#Convert.ToDateTime(Eval("postDate")).ToString("yy-MM-dd HH:mm:ss") %></td>
            <td><%# Eval("adminID").ToString().Trim() %>　<br /><%# Eval("moneyInfo").ToString().Trim()%></td>
        </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
        <tr>
            <td style="background-color: #E9F8FC;"><%# Eval("uID").ToString().Trim()%></td>
            <td style="background-color: #E9F8FC;"><%# Eval("orderID").ToString().Trim()%></td> 
            <td style="background-color: #E9F8FC;"><%# getM(Eval("addMoney").ToString().Trim())%></td>            
            <td style="background-color: #E9F8FC;"><%# getM(Eval("subtractMoney").ToString().Trim())%></td>
            <td style="background-color: #E9F8FC;"><%# getM(Eval("nowMoney").ToString().Trim())%></td>
            <td style="background-color: #E9F8FC;"><%# getM(Eval("buyMoney").ToString().Trim())%></td>
            <td style="background-color: #E9F8FC; text-align:center;"><%#Convert.ToDateTime(Eval("postDate")).ToString("yy-MM-dd HH:mm:ss") %></td>
            <td style="background-color: #E9F8FC;"><%# Eval("adminID").ToString().Trim() %>　<br /><%# Eval("moneyInfo").ToString().Trim()%></td>
        </tr>
        </AlternatingItemTemplate>
        
      <FooterTemplate>
      </table>
      </FooterTemplate>
      
      </asp:Repeater>
      
      <div class="height10px"></div>
        
        <div>
            <asp:Label ID="lblCurrentPage" runat="server"></asp:Label>
        </div>     
    </div>
</form>
</body>
</html>