Click here to Skip to main content
15,897,032 members
Home / Discussions / C#
   

C#

 
GeneralRe: String Column On DataRow Is Null Pin
nelsonpaixao1-Oct-08 13:33
nelsonpaixao1-Oct-08 13:33 
QuestionDataSet Not Saving Pin
Kevin Marois1-Oct-08 8:44
professionalKevin Marois1-Oct-08 8:44 
AnswerRe: DataSet Not Saving Pin
Ennis Ray Lynch, Jr.1-Oct-08 9:35
Ennis Ray Lynch, Jr.1-Oct-08 9:35 
GeneralRe: DataSet Not Saving Pin
Kevin Marois1-Oct-08 10:26
professionalKevin Marois1-Oct-08 10:26 
Questionreporting of proc Pin
NiloofarNoroozi1-Oct-08 8:32
NiloofarNoroozi1-Oct-08 8:32 
AnswerRe: reporting of proc Pin
Ennis Ray Lynch, Jr.1-Oct-08 10:16
Ennis Ray Lynch, Jr.1-Oct-08 10:16 
GeneralRe: reporting of proc Pin
NiloofarNoroozi1-Oct-08 19:38
NiloofarNoroozi1-Oct-08 19:38 
QuestionConditional compiling - what ends up in the exe file Pin
Tim Holgerson1-Oct-08 7:38
Tim Holgerson1-Oct-08 7:38 
Hi,

I use conditional compiling via to block login dialogs while debuging.

#if DEBUG

       sSqlUserName = "me";
       sPwd = "123456";
       // login here with no dialog
               
#else

       // show login dialog

#endif


This work well and saves me typing my user name and password a thousand times.

However I was wondering if any of the code or strings inside the if #DEBUG make it into the exe when compiling the release version. If they do, I suppose one should make sure to remove the hard coded user name and password prior to releasing the app.

Anyone know how this works?

Thanks.

Tim
AnswerRe: Conditional compiling - what ends up in the exe file Pin
User 66581-Oct-08 8:15
User 66581-Oct-08 8:15 
AnswerRe: Conditional compiling - what ends up in the exe file Pin
Ennis Ray Lynch, Jr.1-Oct-08 9:37
Ennis Ray Lynch, Jr.1-Oct-08 9:37 
GeneralRe: Conditional compiling - what ends up in the exe file Pin
leppie1-Oct-08 20:04
leppie1-Oct-08 20:04 
GeneralRe: Conditional compiling - what ends up in the exe file Pin
Ennis Ray Lynch, Jr.2-Oct-08 2:27
Ennis Ray Lynch, Jr.2-Oct-08 2:27 
GeneralRe: Conditional compiling - what ends up in the exe file Pin
leppie2-Oct-08 2:37
leppie2-Oct-08 2:37 
GeneralRe: Conditional compiling - what ends up in the exe file Pin
Ennis Ray Lynch, Jr.2-Oct-08 2:56
Ennis Ray Lynch, Jr.2-Oct-08 2:56 
QuestionCreating Access DB Tables Pin
Planker1-Oct-08 6:57
Planker1-Oct-08 6:57 
AnswerRe: Creating Access DB Tables Pin
Dave Kreskowiak1-Oct-08 11:04
mveDave Kreskowiak1-Oct-08 11:04 
Questionpreventing system standby/hibernate from within Winforms app Pin
Neophyte301-Oct-08 5:50
Neophyte301-Oct-08 5:50 
AnswerRe: preventing system standby/hibernate from within Winforms app Pin
DaveyM691-Oct-08 6:05
professionalDaveyM691-Oct-08 6:05 
GeneralRe: preventing system standby/hibernate from within Winforms app Pin
Neophyte302-Oct-08 0:31
Neophyte302-Oct-08 0:31 
Questionlist of remote printers Pin
arkiboys1-Oct-08 4:38
arkiboys1-Oct-08 4:38 
QuestiondataTable save as excel programatically Pin
michael_jhons1-Oct-08 4:26
michael_jhons1-Oct-08 4:26 
AnswerRe: dataTable save as excel programatically Pin
Wendelius1-Oct-08 4:37
mentorWendelius1-Oct-08 4:37 
GeneralRe: dataTable save as excel programatically Pin
michael_jhons1-Oct-08 5:04
michael_jhons1-Oct-08 5:04 
GeneralRe: dataTable save as excel programatically Pin
michael_jhons1-Oct-08 5:23
michael_jhons1-Oct-08 5:23 
GeneralRe: dataTable save as excel programatically Pin
Wendelius2-Oct-08 4:19
mentorWendelius2-Oct-08 4:19 

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.