protected void Application_BeginRequest(Object sender, EventArgs e)
{
Application["start"] = DateTime.Now ;
}

protected void Application_EndRequest(Object sender, EventArgs e)
{
System.TimeSpan aa = DateTime.Now -(System.DateTime) Application["start"];
Response.Write(aa.TotalSeconds.ToString("#00.000"));
}
 

相关文章:

  • 2021-05-26
  • 2021-08-07
  • 2022-12-23
  • 2021-05-18
  • 2021-07-01
  • 2021-08-17
猜你喜欢
  • 2022-12-23
  • 2021-12-06
  • 2021-09-16
  • 2021-12-06
  • 2022-12-23
  • 2021-12-06
  • 2021-08-09
相关资源
相似解决方案