SQLConnection in ASP.NET 2.0 has more statisticsenabled properties and resetstatistics (), two methods for obtaining SQLServer connection statistics.
<% @ Import namespace = "system.data"%> <% @ import name.datament = "system.data.sqlclient"%> <% @ page language = "c #"%>