Click here to Skip to main content
15,895,656 members
Home / Discussions / C#
   

C#

 
GeneralRe: Project Question Pin
reaper21913-Feb-14 6:20
reaper21913-Feb-14 6:20 
GeneralRe: Project Question Pin
OriginalGriff3-Feb-14 6:43
mveOriginalGriff3-Feb-14 6:43 
GeneralRe: Project Question Pin
Matt T Heffron3-Feb-14 8:06
professionalMatt T Heffron3-Feb-14 8:06 
GeneralRe: Project Question Pin
reaper21913-Feb-14 17:09
reaper21913-Feb-14 17:09 
AnswerRe: Project Question Pin
Matt T Heffron3-Feb-14 18:44
professionalMatt T Heffron3-Feb-14 18:44 
AnswerRe: Project Question Pin
V.3-Feb-14 20:22
professionalV.3-Feb-14 20:22 
QuestionCreating a small project using C# - Please Help Pin
Mohan Subramani3-Feb-14 0:11
Mohan Subramani3-Feb-14 0:11 
AnswerRe: Creating a small project using C# - Please Help Pin
Pete O'Hanlon3-Feb-14 0:18
mvePete O'Hanlon3-Feb-14 0:18 
Mohan Subramani wrote:
1. When i use windows application in C#, on linking the SQL database am hardcoding the SQL server details (e.g: i harcode Machine1\SQLEXPRESS ) but if at all am changing the server in future to Machine2\SQLEXPRESS do i need to recompile my Code again ?
Yes you do. If you have hard coded the value you would have to change the value in code and recompile it. A better bet is to use configuration to store this value - in your case, you would want to store this in the ConnectionStrings section in app.config. This way, you only have to change the value in the config file and you will be able to run it against the new SQL database without recompilation.
QuestionRe: Creating a small project using C# - Please Help Pin
Mohan Subramani3-Feb-14 1:02
Mohan Subramani3-Feb-14 1:02 
AnswerRe: Creating a small project using C# - Please Help Pin
Richard MacCutchan3-Feb-14 0:22
mveRichard MacCutchan3-Feb-14 0:22 
QuestionRe: Creating a small project using C# - Please Help Pin
Mohan Subramani3-Feb-14 1:16
Mohan Subramani3-Feb-14 1:16 
AnswerRe: Creating a small project using C# - Please Help Pin
Richard MacCutchan3-Feb-14 2:18
mveRichard MacCutchan3-Feb-14 2:18 
GeneralRe: Creating a small project using C# - Please Help Pin
Mohan Subramani3-Feb-14 2:48
Mohan Subramani3-Feb-14 2:48 
JokeRe: Creating a small project using C# - Please Help Pin
Ravi Bhavnani3-Feb-14 6:15
professionalRavi Bhavnani3-Feb-14 6:15 
GeneralIssues in creating SQL Server Database with C# windows Application Pin
Mohan Subramani4-Feb-14 3:15
Mohan Subramani4-Feb-14 3:15 
GeneralRe: Issues in creating SQL Server Database with C# windows Application Pin
Ravi Bhavnani4-Feb-14 6:24
professionalRavi Bhavnani4-Feb-14 6:24 
AnswerRe: Creating a small project using C# - Please Help Pin
John D. Sanders4-Feb-14 9:13
John D. Sanders4-Feb-14 9:13 
QuestionArtificial Neural Network Pin
Member 95388301-Feb-14 23:34
Member 95388301-Feb-14 23:34 
AnswerRe: Artificial Neural Network Pin
Kornfeld Eliyahu Peter2-Feb-14 0:06
professionalKornfeld Eliyahu Peter2-Feb-14 0:06 
GeneralRe: Artificial Neural Network Pin
Member 95388302-Feb-14 0:50
Member 95388302-Feb-14 0:50 
QuestionDiamond Program with few requirements Pin
balaramanN1-Feb-14 19:47
balaramanN1-Feb-14 19:47 
AnswerRe: Diamond Program with few requirements Pin
Mycroft Holmes1-Feb-14 20:20
professionalMycroft Holmes1-Feb-14 20:20 
AnswerRe: Diamond Program with few requirements Pin
Richard MacCutchan1-Feb-14 21:32
mveRichard MacCutchan1-Feb-14 21:32 
Questionproblem in crystal report Pin
Shuaib wasif khan1-Feb-14 10:31
Shuaib wasif khan1-Feb-14 10:31 
AnswerRe: problem in crystal report Pin
Mycroft Holmes1-Feb-14 20:19
professionalMycroft Holmes1-Feb-14 20: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.