显示执行时间 var sw = new Stopwatch(); //do something sw.Stop(); Response.Write(sw.Elapsed); 显示:00:00:00.4223233