var stopwath = Stopwatch.StartNew();
程序段.....
stopwath.Stop();
Response.Write(stopwath.ElapsedMilliseconds); //打印执行的总毫秒数
var stopwath = Stopwatch.StartNew();
程序段.....
stopwath.Stop();
Response.Write(stopwath.ElapsedMilliseconds); //打印执行的总毫秒数