[dba-SQLServer] [Cross-Posted to VB and SQL] elapsed time in ASP.Net

Jeff B jeff.developer at gmail.com
Thu Aug 30 14:49:09 CDT 2012


Hello ALL!

I am trying to determine the elapsed time on an ASP.net site.  I am using
VB.net for coding and SQL Server 2008 Time (7) data type for the time
values.  I am using a button to record a time in and a second button to
record time out.  What I would like to do is create a third button that
would allow the users to click the button and see the elapsed time.  I also
want to store this value as a Time (7) data type.  

I have found numerous examples using datediff, but none of them seem to be
working for me.  Has anybody here tried this?  Can someone help point me in
the right direction?

Thanks in Advance for ANY help!

Jeff Barrows
MCP, MCAD, MCSD
 
Outbak Technologies, LLC
Racine, WI
jeff.developer at gmail.com





More information about the dba-SQLServer mailing list