All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
ASP.NET,2.0中CSS失效的问题总结_[Asp.Net教程]
PHP实现同步远程Mysql_[PHP教程]
PHP5中的this,self和parent关键字详解_[PHP教程]
PHP教程:简单学习动态网页制作PHP中的Sessions_[PHP教程]
delphi OutLook界面实例
ASP.NET改变checkboxlist选中项字体颜色_[Asp.Net教程]
利用C#创建,IIS,站点并设置.NET,Framework版本为ASP.NET,2.0,的方法,二_[Asp.Net教程]
php实现报表类_[PHP教程]
剖析ASP.NET,AJAX的面向对象思想_.net资料_编程技术
SQL2000无法安装的解决办法_[SQL,Server教程]
Reading number is top 10 pictures
29 the belle stars after bath figure2
China's programmers are live what kind, had a look at will know that
教你22句话
Small QiShu -- ShuangShuangPan1
China's family planning commission forced abortions 270 million newborns for 30 years
So beauty, will let you spray blood1
photos of ashlynn brooke(ashlynn brooke的美图)
夕阳下的北京街道
50个至今影响世界的德国发明
Japanese snow monkeys in the hot spring to keep warm, close their eyes to enjoy
Download software ranking
Adobe Flash Player(IE) 10.0.32.18 浏览器专用的FLASH插件
I'm come from Beijing1
Eclipse-CALMSANNY (second edition)
Take off clothes to survival
Boxer's Top ten classic battle7
VC++6.0简体中文版
Unix video tutorial6
VC++6.0培训教程
ASP.NET.2.0.XML.高级编程(第3版)
Dance with duck(male prostitution)
delv published in(发表于) 2014/1/6 9:03:14 Edit(编辑)
Asp.net取得页面执行时间的代码_[Asp.Net教程]

Asp.net取得页面执行时间的代码_[Asp.Net教程]

Asp.net取得页面执行时间的代码_[Asp.Net教程]

取得页面执行时间的代码
在Global.asax.cs文件中


protected void Application_BeginRequest(Object sender, EventArgs e)
{
Application["StartTime"] = System.DateTime.Now;
}
protected void Application_EndRequest(Object sender, EventArgs e)
{
System.DateTime startTime = (System.DateTime)Application["StartTime"];
System.DateTime endTime = System.DateTime.Now;
System.TimeSpan ts = endTime - startTime;
Response.Write("页面执行时间:"+ ts.Milliseconds +" 毫秒");
}







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.