Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Increment & back page

Reply
Thread Tools

Increment & back page

 
 
Jaez
Guest
Posts: n/a
 
      03-18-2007
Moving from VB6 and now a newbie with VB in Visual studio and SQL 2005
please can you help with 2 questions?

First
--------------------
I have a database and a webpage with a table view linked to a formview to
select and display a selected record. This works fine.

I would like to be able to display the number of times a particular record
is viewed ie a database record hit counter.

Is there an easy way of incrementing a value with SQL code or do I need to
make routines to select - store value - increment - then update?

There must be a way to do this in one go.

Second
----------------------

I would like to add a button to a webpage to return the user to the page
they came from ( ie like back button in IE ) even if its not from one of my
pages. I gather there is a history collection but I have failed in trying to
access it.



Thanks

jaez



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Post increment ++ has higher precedence than pre increment ++. Why? Alf P. Steinbach /Usenet C++ 0 05-22-2011 12:03 PM
why prefix increment is faster than postfix increment? jrefactors@hotmail.com C++ 99 06-11-2010 12:51 PM
post increment or pre increment? Peng Yu Perl Misc 7 11-23-2008 11:44 PM
Page not found error when navigating from the child page back to the parent page Samy Java 0 02-04-2006 01:29 AM
why prefix increment is faster than postfix increment? jrefactors@hotmail.com C Programming 104 10-27-2005 11:44 PM



Advertisments