摘要:
在Global.asax.cs文件中protected void Application_BeginRequest(Object sender, EventArgs e){ Application["StartTime"] = System.DateTime.Now;}再在webform1中的page_load事件中添加private void Page_Load(object sender, System.EventArgs e){ System.DateTime startTime = (System.DateTime)Application["StartTi 阅读全文