Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
QuestionExporting Data from SQL to Access Pin
Kamal.Afridi18-Feb-07 18:48
Kamal.Afridi18-Feb-07 18:48 
AnswerRe: Exporting Data from SQL to Access Pin
N a v a n e e t h18-Feb-07 19:58
N a v a n e e t h18-Feb-07 19:58 
QuestionProblems getting method called correctly Pin
JMOdom18-Feb-07 18:42
JMOdom18-Feb-07 18:42 
AnswerRe: Problems getting method called correctly Pin
Kamal.Afridi18-Feb-07 18:52
Kamal.Afridi18-Feb-07 18:52 
GeneralRe: Problems getting method called correctly Pin
JMOdom18-Feb-07 19:36
JMOdom18-Feb-07 19:36 
AnswerRe: Problems getting method called correctly Pin
U-P-G-R-A-Y-E-D-D18-Feb-07 18:58
U-P-G-R-A-Y-E-D-D18-Feb-07 18:58 
GeneralRe: Problems getting method called correctly Pin
JMOdom18-Feb-07 19:44
JMOdom18-Feb-07 19:44 
GeneralRe: Problems getting method called correctly Pin
Christian Graus18-Feb-07 20:36
protectorChristian Graus18-Feb-07 20:36 
JMOdom wrote:
int firstNum, secondNum;

DetermineNumberSum(firstNum, secondNum);


No, this cannot work. You need to assign values to firstNum and secondNum, OR use them as out parameters. You try to use them BEFORE using them as out parameters, and you didn't give them values to start with, which is always bad programming. You should also create one variable per line, for readability.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionHow to fight a password cracker ??? Pin
fulbright18-Feb-07 18:24
fulbright18-Feb-07 18:24 
AnswerRe: How to fight a password cracker ??? Pin
Pete O'Hanlon19-Feb-07 1:27
mvePete O'Hanlon19-Feb-07 1:27 
QuestionPrinting using LPT Pin
sianatia18-Feb-07 17:35
sianatia18-Feb-07 17:35 
AnswerRe: Printing using LPT Pin
Christian Graus18-Feb-07 17:41
protectorChristian Graus18-Feb-07 17:41 
GeneralRe: Printing using LPT Pin
sianatia18-Feb-07 19:06
sianatia18-Feb-07 19:06 
GeneralRe: Printing using LPT Pin
Christian Graus18-Feb-07 20:18
protectorChristian Graus18-Feb-07 20:18 
GeneralRe: Printing using LPT Pin
sianatia18-Feb-07 20:26
sianatia18-Feb-07 20:26 
GeneralRe: Printing using LPT Pin
Christian Graus18-Feb-07 20:33
protectorChristian Graus18-Feb-07 20:33 
GeneralRe: Printing using LPT Pin
sianatia18-Feb-07 21:56
sianatia18-Feb-07 21:56 
QuestionHTML in a DataGridView Pin
Darkness8418-Feb-07 17:12
Darkness8418-Feb-07 17:12 
AnswerRe: HTML in a DataGridView Pin
Judah Gabriel Himango19-Feb-07 15:40
sponsorJudah Gabriel Himango19-Feb-07 15:40 
Questionvalidation and htmls (.cs) and javascript Pin
kalyan_241618-Feb-07 17:11
kalyan_241618-Feb-07 17:11 
AnswerRe: validation and htmls (.cs) and javascript Pin
Christian Graus18-Feb-07 17:43
protectorChristian Graus18-Feb-07 17:43 
QuestionFrom Raw USB to Disk Pin
Simplexity18-Feb-07 15:49
Simplexity18-Feb-07 15:49 
QuestionEmit private field get/set (FieldAccessException) [modified] Pin
U-P-G-R-A-Y-E-D-D18-Feb-07 13:30
U-P-G-R-A-Y-E-D-D18-Feb-07 13:30 
QuestionBiggest .NET open source project? Pin
cebyrjoe218-Feb-07 13:28
cebyrjoe218-Feb-07 13:28 
AnswerRe: Biggest .NET open source project? Pin
Thomas Stockwell19-Feb-07 6:44
professionalThomas Stockwell19-Feb-07 6:44 

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.