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

C#

 
QuestionSetWindowPos, MoveWindow and GetWindowRect screen handling issues Pin
Electric Eddy16-Jan-10 17:17
Electric Eddy16-Jan-10 17:17 
AnswerRe: SetWindowPos, MoveWindow and GetWindowRect screen handling issues Pin
#realJSOP17-Jan-10 3:27
professional#realJSOP17-Jan-10 3:27 
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 
Hi,

this is a database question, not a C# question.

you should tell your database to generate unique numbers automatically, and then not worry about them yourself. With your code in charge things would go wrong when multiple requests come in around the same time.

BTW: Most databases offer a way to get the primary key of the row that was affected by the insert or update operation once it has been executed.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


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 
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 

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.