Click here to Skip to main content
15,395,652 members
Home / Discussions / C#
   

C#

 
AnswerRe: Find the smallest integer that is not in a random array Pin
Richard MacCutchan26-Mar-22 22:32
mveRichard MacCutchan26-Mar-22 22:32 
QuestionInserting Through Radionbutton and checkbox Pin
N Mohamed rafi25-Mar-22 23:20
MemberN Mohamed rafi25-Mar-22 23:20 
AnswerRe: Inserting Through Radionbutton and checkbox Pin
OriginalGriff25-Mar-22 23:55
mveOriginalGriff25-Mar-22 23:55 
AnswerRe: Inserting Through Radionbutton and checkbox Pin
Richard MacCutchan26-Mar-22 0:19
mveRichard MacCutchan26-Mar-22 0:19 
GeneralRe: Inserting Through Radionbutton and checkbox Pin
Luc Pattyn26-Mar-22 9:24
sitebuilderLuc Pattyn26-Mar-22 9:24 
AnswerRe: Inserting Through Radionbutton and checkbox Pin
Craig Robbins26-Mar-22 3:36
MemberCraig Robbins26-Mar-22 3:36 
GeneralRe: Inserting Through Radionbutton and checkbox Pin
N Mohamed rafi26-Mar-22 5:16
MemberN Mohamed rafi26-Mar-22 5:16 
GeneralRe: Inserting Through Radionbutton and checkbox Pin
Craig Robbins26-Mar-22 12:42
MemberCraig Robbins26-Mar-22 12:42 
You will need to research how to do an "exclusive or" to learn the syntax.

As for my SQL comment - it still applies to MySQL. You must learn how to tell if the SQL command ran successfully. You cannot assume that it ran as desired just because control flows to the next statement. This is why others are telling you to check for sucess on your SQL operation before you proceed to the statement that says it succeeded.

When you become a professional programmer, you need to worry about things like "Do I have authority to access the database? Is the database online? Did some other unexpected condition occur?" Much of programming is dealing with gracefully handling errors and unexpected conditions.

CodeProject members are professionals and their tips and suggestions are to help you achieve that skill level.
Questionhow get dpi scale factor Pin
Le@rner22-Mar-22 21:29
MemberLe@rner22-Mar-22 21:29 
AnswerRe: how get dpi scale factor Pin
Victor Nijegorodov22-Mar-22 22:28
MemberVictor Nijegorodov22-Mar-22 22:28 
AnswerRe: how get dpi scale factor Pin
Richard MacCutchan22-Mar-22 22:36
mveRichard MacCutchan22-Mar-22 22:36 
GeneralRe: how get dpi scale factor Pin
Le@rner22-Mar-22 23:16
MemberLe@rner22-Mar-22 23:16 
GeneralRe: how get dpi scale factor Pin
Richard MacCutchan22-Mar-22 23:19
mveRichard MacCutchan22-Mar-22 23:19 
GeneralRe: how get dpi scale factor Pin
Le@rner22-Mar-22 23:20
MemberLe@rner22-Mar-22 23:20 
GeneralRe: how get dpi scale factor Pin
Richard MacCutchan22-Mar-22 23:30
mveRichard MacCutchan22-Mar-22 23:30 
GeneralRe: how get dpi scale factor Pin
Le@rner23-Mar-22 0:00
MemberLe@rner23-Mar-22 0:00 
GeneralRe: how get dpi scale factor Pin
Richard MacCutchan23-Mar-22 0:23
mveRichard MacCutchan23-Mar-22 0:23 
GeneralRe: how get dpi scale factor Pin
Dave Kreskowiak23-Mar-22 2:49
mveDave Kreskowiak23-Mar-22 2:49 
GeneralRe: how get dpi scale factor Pin
Le@rner23-Mar-22 17:55
MemberLe@rner23-Mar-22 17:55 
GeneralRe: how get dpi scale factor Pin
Dave Kreskowiak24-Mar-22 6:47
mveDave Kreskowiak24-Mar-22 6:47 
QuestionRe: how get dpi scale factor Pin
Eddy Vluggen22-Mar-22 23:45
professionalEddy Vluggen22-Mar-22 23:45 
AnswerRe: how get dpi scale factor Pin
JudyL_MD24-Mar-22 6:15
MemberJudyL_MD24-Mar-22 6:15 
GeneralRe: how get dpi scale factor Pin
Randor 24-Mar-22 20:49
professional Randor 24-Mar-22 20:49 
QuestionPassword CAPS not Checking in my code Pin
N Mohamed rafi22-Mar-22 21:08
MemberN Mohamed rafi22-Mar-22 21:08 
AnswerRe: Password CAPS not Checking in my code Pin
OriginalGriff22-Mar-22 21:10
mveOriginalGriff22-Mar-22 21:10 

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.