Using System.Diagnostics;

Stopwatch st = new Stopwatch();
st.Start();
Repeater1.DataSource = SQLHelper.ExcuteDataSet().Table[0];
Repeater1.DataBind();
st.Stop();
Label1.Text = st.ElapsedMilliseconds.ToString() + "ms"; //运行的总毫秒数.

相关文章:

  • 2021-12-21
  • 2022-12-23
  • 2021-06-08
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2021-08-24
  • 2022-02-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2021-12-15
相关资源
相似解决方案