Click here to Skip to main content
15,906,335 members
Home / Discussions / C#
   

C#

 
GeneralRe: SSIS for Fixed Length line Pin
nitin_ion3-Feb-14 21:46
nitin_ion3-Feb-14 21:46 
QuestionCreating barcode of type ean-13 in c# windows forms with sql server 2008 using StrokeScribe control of version 4.3.2 Pin
Member 102487683-Feb-14 19:00
Member 102487683-Feb-14 19:00 
SuggestionRe: Creating barcode of type ean-13 in c# windows forms with sql server 2008 using StrokeScribe control of version 4.3.2 Pin
Richard MacCutchan3-Feb-14 21:53
mveRichard MacCutchan3-Feb-14 21:53 
QuestionNorth wind Database Pin
Sandhya Bandar3-Feb-14 9:46
Sandhya Bandar3-Feb-14 9:46 
AnswerRe: North wind Database Pin
Kornfeld Eliyahu Peter3-Feb-14 9:54
professionalKornfeld Eliyahu Peter3-Feb-14 9:54 
AnswerRe: North wind Database Pin
Dave Kreskowiak3-Feb-14 12:49
mveDave Kreskowiak3-Feb-14 12:49 
JokeRe: North wind Database Pin
Kornfeld Eliyahu Peter3-Feb-14 20:19
professionalKornfeld Eliyahu Peter3-Feb-14 20:19 
AnswerRe: North wind Database Pin
Marco Bertschi3-Feb-14 21:04
protectorMarco Bertschi3-Feb-14 21:04 
QuestionWorking with Bitmaps Pin
BBatts3-Feb-14 7:45
BBatts3-Feb-14 7:45 
AnswerRe: Working with Bitmaps Pin
TnTinMn4-Feb-14 6:56
TnTinMn4-Feb-14 6:56 
QuestionProject Question Pin
reaper21913-Feb-14 5:15
reaper21913-Feb-14 5:15 
AnswerRe: Project Question Pin
Alan Balkany3-Feb-14 5:20
Alan Balkany3-Feb-14 5:20 
AnswerRe: Project Question Pin
Pete O'Hanlon3-Feb-14 5:48
mvePete O'Hanlon3-Feb-14 5:48 
AnswerRe: Project Question Pin
OriginalGriff3-Feb-14 6:11
mveOriginalGriff3-Feb-14 6:11 
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 

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.