Click here to Skip to main content
15,913,317 members
Home / Discussions / C#
   

C#

 
GeneralRe: SetWindowPos, MoveWindow and GetWindowRect screen handling issues Pin
Electric Eddy17-Jan-10 6:45
Electric Eddy17-Jan-10 6:45 
Questionadding data to combo box from menu item Pin
johnnysmith116-Jan-10 15:35
johnnysmith116-Jan-10 15:35 
AnswerRe: adding data to combo box from menu item Pin
DaveyM6916-Jan-10 16:15
professionalDaveyM6916-Jan-10 16:15 
GeneralRe: adding data to combo box from menu item Pin
johnnysmith116-Jan-10 16:19
johnnysmith116-Jan-10 16:19 
QuestionRetreiving next autonumber value Pin
tonyonlinux16-Jan-10 14:31
tonyonlinux16-Jan-10 14:31 
AnswerRe: Retreiving next autonumber value Pin
Luc Pattyn16-Jan-10 14:38
sitebuilderLuc Pattyn16-Jan-10 14:38 
GeneralRe: Retreiving next autonumber value Pin
tonyonlinux16-Jan-10 14:48
tonyonlinux16-Jan-10 14:48 
GeneralRe: Retreiving next autonumber value Pin
Dave Kreskowiak16-Jan-10 15:13
mveDave Kreskowiak16-Jan-10 15:13 
There's no reliable way to tell. If the last record you created gets deleted, how are you going to know that??

Normally, you either create a blank, or partially filled, or even completely filled, record in the database, except for the autogenerated number, get the ID after the data is inserted and use that for the remaining operations, if any.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Retreiving next autonumber value Pin
tonyonlinux16-Jan-10 15:34
tonyonlinux16-Jan-10 15:34 
GeneralRe: Retreiving next autonumber value Pin
Luc Pattyn16-Jan-10 15:16
sitebuilderLuc Pattyn16-Jan-10 15:16 
GeneralRe: Retreiving next autonumber value Pin
tonyonlinux16-Jan-10 15:41
tonyonlinux16-Jan-10 15:41 
GeneralRe: Retreiving next autonumber value Pin
Dave Kreskowiak16-Jan-10 19:33
mveDave Kreskowiak16-Jan-10 19:33 
GeneralRe: Retreiving next autonumber value Pin
tonyonlinux17-Jan-10 8:29
tonyonlinux17-Jan-10 8:29 
GeneralRe: Retreiving next autonumber value Pin
Dave Kreskowiak17-Jan-10 8:55
mveDave Kreskowiak17-Jan-10 8:55 
GeneralRe: Retreiving next autonumber value Pin
tonyonlinux17-Jan-10 9:19
tonyonlinux17-Jan-10 9:19 
GeneralRe: Retreiving next autonumber value Pin
Dave Kreskowiak17-Jan-10 15:05
mveDave Kreskowiak17-Jan-10 15:05 
GeneralRe: Retreiving next autonumber value Pin
tonyonlinux17-Jan-10 18:39
tonyonlinux17-Jan-10 18:39 
AnswerRe: Retreiving next autonumber value Pin
PIEBALDconsult17-Jan-10 5:13
mvePIEBALDconsult17-Jan-10 5:13 
QuestionHelp with PictureBox.image updating from Webcam capture Pin
shutupsquare16-Jan-10 9:49
shutupsquare16-Jan-10 9:49 
AnswerRe: Help with PictureBox.image updating from Webcam capture Pin
Luc Pattyn16-Jan-10 10:03
sitebuilderLuc Pattyn16-Jan-10 10:03 
GeneralRe: Help with PictureBox.image updating from Webcam capture Pin
shutupsquare16-Jan-10 10:17
shutupsquare16-Jan-10 10:17 
AnswerRe: Help with PictureBox.image updating from Webcam capture Pin
shutupsquare16-Jan-10 10:08
shutupsquare16-Jan-10 10:08 
GeneralRe: Help with PictureBox.image updating from Webcam capture Pin
Luc Pattyn16-Jan-10 11:05
sitebuilderLuc Pattyn16-Jan-10 11:05 
GeneralRe: Help with PictureBox.image updating from Webcam capture Pin
shutupsquare16-Jan-10 12:56
shutupsquare16-Jan-10 12:56 
GeneralRe: Help with PictureBox.image updating from Webcam capture Pin
Luc Pattyn16-Jan-10 13:03
sitebuilderLuc Pattyn16-Jan-10 13:03 

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.