Click here to Skip to main content
15,887,821 members
Home / Discussions / C#
   

C#

 
AnswerRe: Inheritance of an Abstract Class Pin
Mycroft Holmes10-Nov-12 13:21
professionalMycroft Holmes10-Nov-12 13:21 
AnswerRe: Inheritance of an Abstract Class Pin
Alan N10-Nov-12 13:27
Alan N10-Nov-12 13:27 
GeneralRe: Inheritance of an Abstract Class Pin
ASPnoob10-Nov-12 14:24
ASPnoob10-Nov-12 14:24 
AnswerRe: Inheritance of an Abstract Class Pin
Richard Deeming12-Nov-12 2:09
mveRichard Deeming12-Nov-12 2:09 
QuestionC# issue: connection string to app.config file Pin
rachel_m10-Nov-12 8:05
rachel_m10-Nov-12 8:05 
AnswerRe: C# issue: connection string to app.config file Pin
Eddy Vluggen10-Nov-12 23:38
professionalEddy Vluggen10-Nov-12 23:38 
GeneralRe: C# issue: connection string to app.config file Pin
rachel_m11-Nov-12 6:11
rachel_m11-Nov-12 6:11 
AnswerRe: C# issue: connection string to app.config file Pin
jschell11-Nov-12 10:39
jschell11-Nov-12 10:39 
rachel_m wrote:
ConfigurationManager.ConnectionStrings


Your app.config needs to be set up in a very specific way for that to work.
If it isn't set up that way then ConnectionStrings will be null.

I would suggest that you do the following
1. Create a project/app that ONLY gets the connection string
2. Create a app.config that ONLY has that connection string.
3. Verify in that app that ConnectionStrings is not null before using it.
4. Get the connection string property and print it.

Then if that doesn't work then you can post the entire class and the entire app.config. Do not include real info in the app.config all you care about is that it get a value not what is in it.
QuestionSSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee10-Nov-12 7:49
professionalTridip Bhattacharjee10-Nov-12 7:49 
AnswerRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Mycroft Holmes10-Nov-12 13:17
professionalMycroft Holmes10-Nov-12 13:17 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee11-Nov-12 6:57
professionalTridip Bhattacharjee11-Nov-12 6:57 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Mycroft Holmes11-Nov-12 11:39
professionalMycroft Holmes11-Nov-12 11:39 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee11-Nov-12 19:35
professionalTridip Bhattacharjee11-Nov-12 19:35 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Mycroft Holmes11-Nov-12 21:29
professionalMycroft Holmes11-Nov-12 21:29 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee13-Nov-12 19:53
professionalTridip Bhattacharjee13-Nov-12 19:53 
QuestionExport data from report to excel in the wrong format Pin
nhanlaptrinh9-Nov-12 19:29
nhanlaptrinh9-Nov-12 19:29 
GeneralRe: Export data from report to excel in the wrong format Pin
Eddy Vluggen10-Nov-12 7:22
professionalEddy Vluggen10-Nov-12 7:22 
AnswerRe: Export data from report to excel in the wrong format Pin
Mycroft Holmes10-Nov-12 13:11
professionalMycroft Holmes10-Nov-12 13:11 
QuestionExplorerBand,Explorer extending,I want to add a bar to the WindowsExplorer(not IE). Pin
ohsorry9-Nov-12 16:05
ohsorry9-Nov-12 16:05 
QuestionDirect Sound Pin
Michael Kurdík9-Nov-12 7:41
Michael Kurdík9-Nov-12 7:41 
AnswerRe: Direct Sound Pin
Mycroft Holmes10-Nov-12 13:05
professionalMycroft Holmes10-Nov-12 13:05 
AnswerRe: Direct Sound Pin
Michael Kurdík17-Nov-12 0:53
Michael Kurdík17-Nov-12 0:53 
QuestionVS2012 new WinForms project Pin
#realJSOP9-Nov-12 2:00
mve#realJSOP9-Nov-12 2:00 
AnswerRe: VS2012 new WinForms project Pin
Manfred Rudolf Bihy9-Nov-12 3:29
professionalManfred Rudolf Bihy9-Nov-12 3:29 
QuestionNeed project suggestion Pin
Shashank Srivastava1)8-Nov-12 19:14
Shashank Srivastava1)8-Nov-12 19:14 

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.