View Single Post
  #6 (permalink)  
Old 09-23-2008, 4:14 AM
Shanks Shanks is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Sep 2008
Age: 34
Posts: 3
Reputation: 0
Shanks is on a distinguished programming path ahead
Default

Incrementing the variable would be done like so...

Code:
YourVariable += 1
But I get the feeling that, that is not the problem you are asking about. As this is the primary key of your table then you shouldn't need to worry about incrementing it anyway. Hasn' the column got an auto increment feature?
Reply With Quote