Click here to Skip to main content
       

C#

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: Inheritance of an Abstract ClassmemberAlan N10 Nov '12 - 13:27 
GeneralRe: Inheritance of an Abstract ClassmemberASPnoob10 Nov '12 - 14:24 
AnswerRe: Inheritance of an Abstract ClassmemberRichard Deeming12 Nov '12 - 2:09 
QuestionC# issue: connection string to app.config filememberrachel_m10 Nov '12 - 8:05 
AnswerRe: C# issue: connection string to app.config filememberEddy Vluggen10 Nov '12 - 23:38 
GeneralRe: C# issue: connection string to app.config filememberrachel_m11 Nov '12 - 6:11 
AnswerRe: C# issue: connection string to app.config filememberjschell11 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 setupmemberTridip Bhattacharjee10 Nov '12 - 7:49 
AnswerRe: SSRS: How to deploy RDLC files with visual-studio 2010 setupmemberMycroft Holmes10 Nov '12 - 13:17 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setupmemberTridip Bhattacharjee11 Nov '12 - 6:57 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setupmemberMycroft Holmes11 Nov '12 - 11:39 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setupmemberTridip Bhattacharjee11 Nov '12 - 19:35 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setupmemberMycroft Holmes11 Nov '12 - 21:29 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setupmemberTridip Bhattacharjee13 Nov '12 - 19:53 
QuestionExport data from report to excel in the wrong format [modified]memberNguyễn Duy Nhân9 Nov '12 - 19:29 
GeneralRe: Export data from report to excel in the wrong formatmemberEddy Vluggen10 Nov '12 - 7:22 
AnswerRe: Export data from report to excel in the wrong formatmemberMycroft Holmes10 Nov '12 - 13:11 
QuestionExplorerBand,Explorer extending,I want to add a bar to the WindowsExplorer(not IE).memberohsorry9 Nov '12 - 16:05 
QuestionDirect SoundmemberMichael Kurdík9 Nov '12 - 7:41 
AnswerRe: Direct SoundmemberMycroft Holmes10 Nov '12 - 13:05 
AnswerRe: Direct SoundmemberMichael Kurdík17 Nov '12 - 0:53 
QuestionVS2012 new WinForms project [modified]mvpJohn Simmons / outlaw programmer9 Nov '12 - 2:00 
AnswerRe: VS2012 new WinForms projectmvpManfred R. Bihy9 Nov '12 - 3:29 
QuestionNeed project suggestionmemberShashank Srivastava1)8 Nov '12 - 19:14 
AnswerRe: Need project suggestionmemberAndy_L_J8 Nov '12 - 19:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid