<%@ Page language="c#" Codebehind="AgencyFinanceAdd.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.AgencyFinanceAdd" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>AgencyFinanceAdd</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR" />
    <meta content="C#" name="CODE_LANGUAGE" />
    <meta content="JavaScript" name="vs_defaultClientScript" />
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
    <link href="inc/style.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../inc/calendar.js"></script>
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <table class="tableBorder" id="Table1" cellspacing="0" cellpadding="0" width="640"
            align="center" border="0">
            <tr>
                <th class="tableHeaderText" align="left" height="25">
                    &nbsp;&nbsp;
                    <asp:Label ID="lbTitle" runat="server">结算提成</asp:Label></th>
                <th class="tableHeaderText" align="right">
                    <a href="#" target="_blank">
                        <img src="Images/admin_help.gif" border="0" alt="帮助" /></a>&nbsp;
                </th>
            </tr>
        </table>
        <table class="tableBorder" id="Table2" cellspacing="1" cellpadding="1" width="640"
            align="center" border="0">
            <tr>
                <td>
                    <table class="tableBorder" id="Table3" cellspacing="0" cellpadding="0" width="100%"
                        align="center" border="0">
                        <tr>
                            <td>
                                时间：从
                                <asp:TextBox ID="txtDateFrom" runat="server" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;" onClick="javascript:show_calendar('Form1.txtDateFrom');" Width="100px"></asp:TextBox>
                                至
                                <asp:TextBox ID="txtDateTo" runat="server" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;" onClick="javascript:show_calendar('Form1.txtDateTo');" Width="100px"></asp:TextBox>
                                <asp:Button ID="btnSearch" runat="server" Text="查看"></asp:Button>
                                <br />
                                <% =info%>
                            </td>
                        </tr>
                        
                        <tr>
				            <td height="23" class="forumRowHighlight">
					            <asp:datagrid id="dgAgencyFinance" runat="server" AllowPaging="False" PagerStyle-Mode="NumericPages"
						            AutoGenerateColumns="False" DataKeyField="MemberID" Width="100%" HorizontalAlign="Center"
						            HeaderStyle-CssClass="summary-title" Visible="false">
						            <HeaderStyle Font-Bold="True"></HeaderStyle>
						            <Columns>
							            <asp:TemplateColumn HeaderText="会员名称">
								            <HeaderStyle HorizontalAlign="Left"></HeaderStyle>
								            <ItemStyle HorizontalAlign="Left" Width="120px"></ItemStyle>
								            <ItemTemplate>
									            <%# GetMemberName(int.Parse(DataBinder.Eval(Container.DataItem, "MemberID").ToString()))%>
								            </ItemTemplate>
							            </asp:TemplateColumn>
							            <asp:TemplateColumn HeaderText="提成">
								            <HeaderStyle HorizontalAlign="Left"></HeaderStyle>
								            <ItemStyle HorizontalAlign="Left"></ItemStyle>
								            <ItemTemplate>
								                <%# DataBinder.Eval(Container.DataItem, "MemberIDFinance")%>
								            </ItemTemplate>
							            </asp:TemplateColumn>
						            </Columns>
						            <PagerStyle Mode="NumericPages"></PagerStyle>
					            </asp:datagrid>
				            </td>
			            </tr>
                        <tr>
                            <td align="center">
                                <br />
                                <asp:Button ID="btnSave" runat="server" Text="确认结算" Visible="false"></asp:Button>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        
    </form>
</body>
</html>
