Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGridView Size Pin
Alan N20-May-09 4:47
Alan N20-May-09 4:47 
AnswerRe: DataGridView Size Pin
musefan20-May-09 4:39
musefan20-May-09 4:39 
GeneralRe: DataGridView Size Pin
m1220-May-09 4:45
m1220-May-09 4:45 
AnswerRe: DataGridView Size Pin
Dave Kreskowiak20-May-09 6:00
mveDave Kreskowiak20-May-09 6:00 
QuestionRelative file path referencing problem Pin
Jacobus0120-May-09 4:09
Jacobus0120-May-09 4:09 
AnswerRe: Relative file path referencing problem Pin
Dave Kreskowiak20-May-09 5:58
mveDave Kreskowiak20-May-09 5:58 
GeneralRe: Relative file path referencing problem Pin
Jacobus0120-May-09 21:17
Jacobus0120-May-09 21:17 
GeneralRe: Relative file path referencing problem Pin
Dave Kreskowiak21-May-09 1:49
mveDave Kreskowiak21-May-09 1:49 
Each app is going to have it's own app.config for web.config. Class libraries don't get to use their own app.config. They use the config of the application that loads the .DLL.

Since the web app is going to be the most restricted in navigating the file system, the connection string should go in it's web.config file. The other apps can have their own app.config file that has the file path to the web app and can retrieve the connection string from that. I don't know your situation entirely, but I would consider putting the connection string in each config file. I'm just thinking about production and test environments when you might want one or more app(s) might have a different connection string from the others for testing.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Relative file path referencing problem Pin
Jacobus0121-May-09 1:59
Jacobus0121-May-09 1:59 
GeneralRe: Relative file path referencing problem Pin
Dave Kreskowiak21-May-09 16:16
mveDave Kreskowiak21-May-09 16:16 
QuestionAccessViolationException when using the qapuiek.dll Pin
TheFoZ20-May-09 3:28
TheFoZ20-May-09 3:28 
AnswerRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 4:36
sitebuilderLuc Pattyn20-May-09 4:36 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
TheFoZ20-May-09 4:52
TheFoZ20-May-09 4:52 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 4:56
sitebuilderLuc Pattyn20-May-09 4:56 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
TheFoZ20-May-09 5:04
TheFoZ20-May-09 5:04 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 5:43
sitebuilderLuc Pattyn20-May-09 5:43 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Dave Kreskowiak20-May-09 5:53
mveDave Kreskowiak20-May-09 5:53 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 6:05
sitebuilderLuc Pattyn20-May-09 6:05 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Dave Kreskowiak20-May-09 6:28
mveDave Kreskowiak20-May-09 6:28 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 6:42
sitebuilderLuc Pattyn20-May-09 6:42 
QuestionWindows service apps Pin
saeidfarahi20-May-09 3:11
saeidfarahi20-May-09 3:11 
AnswerRe: Windows service apps Pin
PIEBALDconsult20-May-09 3:25
mvePIEBALDconsult20-May-09 3:25 
QuestionRemoving AutoIncrement from Access database column Pin
Eduard Keilholz20-May-09 2:51
Eduard Keilholz20-May-09 2:51 
Questionfroms in MDI Pin
sachees12320-May-09 2:42
sachees12320-May-09 2:42 
AnswerRe: froms in MDI Pin
musefan20-May-09 2:48
musefan20-May-09 2:48 

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.