Tuesday, July 28, 2009

What the asp code for hit button count and time when did someone hit the button in my page?

i want to know,what the asp code for hit button count record and the time when aomeone hit the button at my page?


after that,i want to store the hit count including the time into ms database access..if it's hard to explain,just give me the related link..tq

What the asp code for hit button count and time when did someone hit the button in my page?
save the values as following algo...


1. On page load retrieve the count of records from hit counter table. Initially it will return 0. Increment the count retrieved by +1.


You can save this value in a session variable or hidden field on that web form of ASP.Net





2. On Click event insert incremented value + time into the hit counter table of MS Access.


No comments:

Post a Comment