Click here to Skip to main content
16,014,765 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDataGrid Coloumns Autofix Pin
HinJinShah8-May-04 5:32
HinJinShah8-May-04 5:32 
GeneralNeed some info bout vb.net Pin
Anonymous8-May-04 3:45
Anonymous8-May-04 3:45 
GeneralRe: Need some info bout vb.net Pin
Hesham Amin8-May-04 5:11
Hesham Amin8-May-04 5:11 
GeneralDataGrid Headers Grouped Pin
Lucko7-May-04 16:47
Lucko7-May-04 16:47 
Generaladding autonumber to VB form - beginner question Pin
pawn_me7-May-04 14:42
pawn_me7-May-04 14:42 
GeneralRe: adding autonumber to VB form - beginner question Pin
Dave Kreskowiak7-May-04 17:46
mveDave Kreskowiak7-May-04 17:46 
GeneralRe: adding autonumber to VB form - beginner question Pin
pawn_me8-May-04 19:51
pawn_me8-May-04 19:51 
GeneralRe: adding autonumber to VB form - beginner question Pin
Dave Kreskowiak9-May-04 3:57
mveDave Kreskowiak9-May-04 3:57 
Is this a Windows Forms app or a Web App? Are you displaying the records in the database with a DataGrid? What does your Add button do?

There is no one reference that will teach you how to do this. There are many different method to accomplish what your trying to do. Search the web for articles specific to the objects and statements your trying to use and Amazon for ADO.NET/VB.NET books. There are dozens of books on the subject and they can explain everything in much better detail that any article can.

But for here, post the code you're using so we can take a look at what your doing and make some recommendations. Normally, your app shouldn't care about the Autonumber until AFTER the new data is posted to the database, not before. This is because of data validation reasons and consistancy of the ID field.




RageInTheMachine9532
GeneralAccessing a database on a network drive Pin
ccotton3337-May-04 6:38
ccotton3337-May-04 6:38 
GeneralRe: Accessing a database on a network drive Pin
Dave Kreskowiak7-May-04 9:52
mveDave Kreskowiak7-May-04 9:52 
GeneralRandom Number Generator Pin
Britnt77-May-04 3:31
Britnt77-May-04 3:31 
GeneralRe: Random Number Generator Pin
Colin Angus Mackay7-May-04 3:59
Colin Angus Mackay7-May-04 3:59 
GeneralRe: Random Number Generator Pin
Britnt77-May-04 4:51
Britnt77-May-04 4:51 
GeneralRe: Random Number Generator Pin
Colin Angus Mackay7-May-04 5:02
Colin Angus Mackay7-May-04 5:02 
GeneralRe: Random Number Generator Pin
Britnt77-May-04 5:29
Britnt77-May-04 5:29 
GeneralRe: Random Number Generator Pin
Colin Angus Mackay7-May-04 12:08
Colin Angus Mackay7-May-04 12:08 
GeneralRe: Random Number Generator Pin
Britnt712-May-04 2:29
Britnt712-May-04 2:29 
GeneralRe: Random Number Generator Pin
Nick Seng12-May-04 0:02
Nick Seng12-May-04 0:02 
GeneralRe: Random Number Generator Pin
Britnt712-May-04 2:38
Britnt712-May-04 2:38 
GeneralRe: Random Number Generator Pin
Britnt712-May-04 3:23
Britnt712-May-04 3:23 
GeneralVB.NET Forms and Painting Pin
opopov6-May-04 22:08
opopov6-May-04 22:08 
GeneralRe: VB.NET Forms and Painting Pin
Syed Abdul Khader7-May-04 0:45
Syed Abdul Khader7-May-04 0:45 
GeneralRe: VB.NET Forms and Painting Pin
opopov7-May-04 5:29
opopov7-May-04 5:29 
GeneralRe: VB.NET Forms and Painting Pin
Syed Abdul Khader10-May-04 21:11
Syed Abdul Khader10-May-04 21:11 
Generalslideshow app in vb6 Pin
Ashwin C6-May-04 9:07
Ashwin C6-May-04 9:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.