<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManualSettle.aspx.cs" Inherits="JRAPI.Admin.finance.ManualSettle" %>
<%@ Register src="../Controls/SubPageTop.ascx" tagname="SubPageTop" tagprefix="uc1" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<uc1:SubPageTop ID="SubPageTop1" runat="server" />
<body>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<form id="myform" runat="server">
<div class="pad_10" style="margin-top:10px">
<div class="explain-col search-form">
    商户余额大于等于:<asp:TextBox ID="txtBalance" runat="server" Text="100"></asp:TextBox>&nbsp;<asp:Button 
        ID="btnSearch" runat="server" Text="检 索" class="button" 
        onclick="btnSearch_Click"/>&nbsp;<asp:Button ID="allsubbtn" runat="server" Text="批量结算" class="button" 
        onclick="allsubbtn_Click" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="txtBalance" Display="Dynamic" ErrorMessage="* 数值不可为空" 
        ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
        ControlToValidate="txtBalance" ErrorMessage="* 请输入正确的数值" ForeColor="Red" 
        SetFocusOnError="True" ValidationExpression="\d+"></asp:RegularExpressionValidator>
    </div>
<div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
            <th><input type="checkbox" value="" id="check_box" onclick="selectall('Userid');" /></th>
            <th>商户ID</th>
            <th>账号</th>
            <th>帐户余额</th>
            <th>可结算金额</th>
            <th>手续费</th>
            <th>最后登录</th>

            <th>操作</th>
            </tr>
        </thead>
    <tbody>
        <asp:Repeater ID="repList" runat="server">
        <ItemTemplate>
            <tr>
                <td align="center"><input class="inputcheckbox " name="Userid" value="<%# Eval("userid")%>" type="checkbox"></td>
                <td align="center"><%#Eval("userid")%></td>
                <td align="center"><%#Eval("Email")%></td>
                <td align="center"><%#Eval("balance")%></td>
                <td align="center"><%# Eval("maybalance")%></td>
                <td align="center"><%# Eval("withdrawRate")%></td>
                <td align="center"><%#Eval("LastTimes")%></td>
                <td align="center"><a href="../User/UserInfo.aspx?userid=<%#Eval("userid")%>">资料</a></td>
            </tr>
        </ItemTemplate>
        </asp:Repeater>
     </tbody>
    </table>
 <div id="pages">
 <webdiyer:AspNetPager ID="PageList" runat="server" FirstPageText="首页" LastPageText="尾页"
                                            NextPageText="下一页" PrevPageText="上一页" 
        AlwaysShow="True" PageSize="100" UrlPageIndexName="pageindex" CustomInfoHTML="共有%RecordCount%条数据,每页%PageSize%条,当前第%CurrentPageIndex%页,共%PageCount%页"
                                            ShowCustomInfoSection="Left" 
        CssClass="pagination ue-clear" CurrentPageButtonClass="current"   
        CustomInfoClass="pxofy" 
        NavigationClass="pagin-list" onpagechanging="PageList_PageChanging" 
        PageIndexBoxClass="gotoinput" SubmitButtonClass="gotobtn">
                                        </webdiyer:AspNetPager>
  </div>

</div>
</div>
</form>
</div>
</body>
</html>