Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
Question=> operator in C# Pin
trinh.nguyen22-Jun-13 18:35
trinh.nguyen22-Jun-13 18:35 
AnswerRe: => operator in C# Pin
Abhinav S22-Jun-13 18:38
Abhinav S22-Jun-13 18:38 
GeneralRe: => operator in C# Pin
trinh.nguyen22-Jun-13 18:53
trinh.nguyen22-Jun-13 18:53 
AnswerRe: => operator in C# Pin
XoulsZ23-Jun-13 11:00
XoulsZ23-Jun-13 11:00 
GeneralRe: => operator in C# Pin
Bernhard Hiller23-Jun-13 21:11
Bernhard Hiller23-Jun-13 21:11 
AnswerRe: => operator in C# Pin
Rahul Rajat Singh24-Jun-13 1:03
professionalRahul Rajat Singh24-Jun-13 1:03 
AnswerRe: => operator in C# Pin
Amir Mohammad Nasrollahi29-Jul-13 7:10
professionalAmir Mohammad Nasrollahi29-Jul-13 7:10 
QuestionC# have linq to sql access config file Pin
sc steinhayse22-Jun-13 10:41
sc steinhayse22-Jun-13 10:41 
I am having a linq to sql problem with a C# 2010 windows form application when it is changed to a dll and accessed by other applications. The purpose of the calling the code as a dll is for performance reasons and to share the code accross multiple applications.

When the application is on its own, it runs fine.

Basically when the linq to sql was dragged to the desktop, a default linq to sql connection was setup by the .net framework. However I changed the *.designer.cs to use the system.configuration namespace,
added a reference to the system.configuration namespace, and changed the default linq to sql connection to use the database connection obttained in app.config file. I also removed any refernces to the default database connections in the the 'properties or 'settings' section for each project file folder.

Now the problem is the default setting values to the database are reset by the .net framework. Thwe values in the app.config file are no longer being used.

Can you show me code, point me to a reference, and/or tell how I can make this application is the connection string values in the app.config file again?
AnswerRe: C# have linq to sql access config file Pin
Richard MacCutchan22-Jun-13 23:49
mveRichard MacCutchan22-Jun-13 23:49 
GeneralRe: C# have linq to sql access config file Pin
sc steinhayse23-Jun-13 10:50
sc steinhayse23-Jun-13 10:50 
GeneralRe: C# have linq to sql access config file Pin
Richard MacCutchan23-Jun-13 21:01
mveRichard MacCutchan23-Jun-13 21:01 
QuestionPopulate Products as Buttons Pin
Jassim Rahma22-Jun-13 1:46
Jassim Rahma22-Jun-13 1:46 
AnswerRe: Populate Products as Buttons Pin
OriginalGriff22-Jun-13 3:48
mveOriginalGriff22-Jun-13 3:48 
Questionuse my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
jithintbr22-Jun-13 0:42
jithintbr22-Jun-13 0:42 
QuestionRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
Richard MacCutchan22-Jun-13 1:00
mveRichard MacCutchan22-Jun-13 1:00 
AnswerRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
OriginalGriff22-Jun-13 1:01
mveOriginalGriff22-Jun-13 1:01 
JokeRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
Richard MacCutchan22-Jun-13 1:12
mveRichard MacCutchan22-Jun-13 1:12 
QuestionRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
jithintbr22-Jun-13 1:16
jithintbr22-Jun-13 1:16 
AnswerRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
jithintbr22-Jun-13 1:17
jithintbr22-Jun-13 1:17 
AnswerRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
OriginalGriff22-Jun-13 1:00
mveOriginalGriff22-Jun-13 1:00 
GeneralRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
jithintbr22-Jun-13 1:15
jithintbr22-Jun-13 1:15 
GeneralRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
OriginalGriff22-Jun-13 1:20
mveOriginalGriff22-Jun-13 1:20 
AnswerRe: use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software Pin
Pete O'Hanlon22-Jun-13 4:15
mvePete O'Hanlon22-Jun-13 4:15 
QuestionError while saving XLS file. Pin
Member 1002654421-Jun-13 3:58
Member 1002654421-Jun-13 3:58 
AnswerRe: Error while saving XLS file. Pin
Simon_Whale21-Jun-13 4:01
Simon_Whale21-Jun-13 4:01 

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.