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

Gustav Brock gustav at cactus.dk
Fri Aug 31 03:18:31 CDT 2012


Hi Jeff

I think TimeSpan is what you are looking for. I don't do VB.NET but located this:

http://www.vb-helper.com/howto_net_measure_elapsed_time.html

/gustav


>>> jeff.developer at gmail.com 30-08-12 21:49 >>>
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-VB mailing list