Click here to Skip to main content
15,894,180 members
Home / Discussions / C#
   

C#

 
GeneralRe: Puzzle Random Pin
harold aptroot27-May-13 21:43
harold aptroot27-May-13 21:43 
GeneralRe: Puzzle Random Pin
OriginalGriff27-May-13 21:58
mveOriginalGriff27-May-13 21:58 
GeneralRe: Puzzle Random Pin
harold aptroot27-May-13 22:13
harold aptroot27-May-13 22:13 
AnswerRe: Puzzle Random Pin
Midnight Ahri27-May-13 22:43
Midnight Ahri27-May-13 22:43 
QuestionC# add code to app for user to enter data Pin
classy_dog27-May-13 6:42
classy_dog27-May-13 6:42 
AnswerRe: C# add code to app for user to enter data Pin
Dave Kreskowiak27-May-13 7:07
mveDave Kreskowiak27-May-13 7:07 
AnswerRe: C# add code to app for user to enter data Pin
Richard MacCutchan27-May-13 7:23
mveRichard MacCutchan27-May-13 7:23 
QuestionC# linq to sql default appears Pin
classy_dog26-May-13 16:16
classy_dog26-May-13 16:16 
In a C# desktop application, I am using linq to sql to connect to a sql server 2008 r2 database. The applicatiion is setup to point to various databases depending upon the value in the app.config file.

The problem is code in the *.designer.cs gets overrriden somehow by 'defaults' in the .net problem framework. When this happens the 'using system.configuration' gets removed from the application and the 'default settings' values are used to get the database connection string values.

When I notice this problem occurs, I need to do the following: 1. place the 'using system.configuration' code back into *.designer.cs file, 2. change the code so the database connection info is obtained from the app.config file, 3. remove the property settings so the 'default' database connections are not used.

Thus can you tell me what is causing this problem to occur and how to

solve the problem?
AnswerRe: C# linq to sql default appears Pin
Dave Kreskowiak26-May-13 18:43
mveDave Kreskowiak26-May-13 18:43 
GeneralRe: C# linq to sql default appears Pin
classy_dog27-May-13 6:41
classy_dog27-May-13 6:41 
GeneralRe: C# linq to sql default appears Pin
Dave Kreskowiak27-May-13 7:03
mveDave Kreskowiak27-May-13 7:03 
QuestionC# convert dll to be used as an api Pin
classy_dog26-May-13 12:05
classy_dog26-May-13 12:05 
AnswerRe: C# convert dll to be used as an api Pin
Garth J Lancaster26-May-13 13:06
professionalGarth J Lancaster26-May-13 13:06 
AnswerRe: C# convert dll to be used as an api Pin
Richard MacCutchan26-May-13 21:54
mveRichard MacCutchan26-May-13 21:54 
QuestionFinding Orphaned Files Pin
Jonathan Clegg26-May-13 10:15
Jonathan Clegg26-May-13 10:15 
AnswerRe: Finding Orphaned Files Pin
Mycroft Holmes26-May-13 12:38
professionalMycroft Holmes26-May-13 12:38 
AnswerRe: Finding Orphaned Files Pin
Garth J Lancaster26-May-13 12:43
professionalGarth J Lancaster26-May-13 12:43 
QuestionHow to make setupfile and create a database in installation time Pin
Member 1001439626-May-13 9:31
Member 1001439626-May-13 9:31 
AnswerRe: How to make setupfile and create a database in installation time Pin
Abhinav S26-May-13 22:18
Abhinav S26-May-13 22:18 
Questionsending a call to winform Pin
Member 1007409726-May-13 7:01
Member 1007409726-May-13 7:01 
AnswerRe: sending a call to winform Pin
NotPolitcallyCorrect26-May-13 7:12
NotPolitcallyCorrect26-May-13 7:12 
AnswerRe: sending a call to winform Pin
Abhinav S26-May-13 7:34
Abhinav S26-May-13 7:34 
GeneralRe: sending a call to winform Pin
Member 1007416126-May-13 9:15
Member 1007416126-May-13 9:15 
AnswerRe: sending a call to winform Pin
Richard MacCutchan26-May-13 21:46
mveRichard MacCutchan26-May-13 21:46 
GeneralRe: sending a call to winform Pin
Member 1007416127-May-13 7:22
Member 1007416127-May-13 7:22 

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.