<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InCome_Rank.aspx.cs" Inherits="TotCms.Web.Office.Financial.InCome_Rank" %>
<!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="../style/global.css" rel="stylesheet" type="text/css" />
    <link href="../../js/jquery-ui-1.8.10/css/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.core.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.widget.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.datepicker.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/i18n/jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
    <script type="text/javascript">
      $(function () {
        $('.dates').datepicker($.datepicker.regional["zh-CN"]);
      });
    </script>
    <style type="text/css">
      .style1
      {
        width: 16px;
        height: 16px;
      }
    </style>
</head>
<body>
    <form id="form1" runat="server">     
     <div class="br"></div>
    <div>
        <table style="width: 100%;" border="0" cellpadding="0" cellspacing="1" class="border">
            <tr class="suphead">
                <td>
                    收入排行榜</td>
            </tr>
            <tr>
                <td height="30"><asp:TextBox ID="tbEndDate" runat="server" CssClass="dates"></asp:TextBox>
                
                  <asp:DropDownList ID="ddYear" runat="server">
                  </asp:DropDownList>
                  <asp:DropDownList ID="ddMonth" runat="server">
                  </asp:DropDownList>
                
                    <asp:Button ID="btnGo" runat="server" Text="查询" onclick="btnGo_Click" />                
                
                </td>
            </tr>
        </table>
    </div>
    <div class="br"></div>

     <table>
       <tr>
         <td>
           <img class="style1" src="../images/plus.png" /> <a href="InCome_Edit.aspx">添加收入</a></td>
       </tr>
     </table>

    <div>
        <asp:ListView ID="lvList" runat="server" ItemPlaceholderID="items" DataKeyNames="UserName">
            <LayoutTemplate>
                <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                    <tr class="suphead">                        
                        <td>
                            名次
                        </td>
                        <td>
                            姓名
                        </td>
                        <td>
                            收入
                        </td>                        
                    </tr>
                    <asp:PlaceHolder runat="server" ID="items"></asp:PlaceHolder>
                </table>
            </LayoutTemplate>
            <ItemTemplate>
                <tr class="lines">
                    <td>
                        <%# Container.DataItemIndex+1%>
                    </td>
                    <td>
                        <%# Eval("UserName")%>
                    </td>
                    <td>
                        <%# Eval("TotalMoney")%>
                    </td>                    
                </tr>
            </ItemTemplate>
            <EmptyDataTemplate>
                <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                    <tr class="suphead">
                        <td>
                           暂时没有数据
                        </td>
                    </tr>
                </table>
            </EmptyDataTemplate>
        </asp:ListView>
    </div>
    </form>
</body>
</html>
