文件操作 - OnTime.aspx
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\howell.kimbly.in\wwwroot\OnTime.aspx
编辑文件内容
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnTime.aspx.cs" Inherits="HowellWebService.OnTime" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <link href="css/bootstrap.css" rel="stylesheet" /> </head> <body> <form id="form1" runat="server"> <div> <h3>Employees OnTime</h3><hr style="width:100%" /> </div> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="SqlDataSource1" Width="978px"> <Columns> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> <asp:BoundField DataField="CardNo" HeaderText="CardNo" SortExpression="CardNo" /> <asp:BoundField DataField="InTime" HeaderText="InTime" SortExpression="InTime" /> </Columns> </asp:GridView> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>" SelectCommand="GetOnTimeEmployees" SelectCommandType="StoredProcedure"></asp:SqlDataSource> </form> </body> </html>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件