Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I tell the difference between source and published .NET code? Pin
Shameel5-Feb-14 23:14
professionalShameel5-Feb-14 23:14 
AnswerRe: How can I tell the difference between source and published .NET code? Pin
jschell6-Feb-14 8:38
jschell6-Feb-14 8:38 
QuestionMVVM Observe VM Command Pin
eddieangel5-Feb-14 8:28
eddieangel5-Feb-14 8:28 
Questionweb.config file access in another project Pin
vkEE5-Feb-14 7:31
vkEE5-Feb-14 7:31 
QuestionRe: web.config file access in another project Pin
Richard Deeming5-Feb-14 8:05
mveRichard Deeming5-Feb-14 8:05 
AnswerRe: web.config file access in another project Pin
Marco Bertschi5-Feb-14 20:28
protectorMarco Bertschi5-Feb-14 20:28 
GeneralRe: web.config file access in another project Pin
vkEE7-Feb-14 3:50
vkEE7-Feb-14 3:50 
GeneralRe: web.config file access in another project Pin
Marco Bertschi7-Feb-14 3:56
protectorMarco Bertschi7-Feb-14 3:56 
No. The problem most likely is that
Int32.Parse(ConfigurationManager.AppSettings["QId"]);

is accessing the app.config file, while
Int32.Parse(System.Web.Configuration.WebConfigurationManager.AppSettings["QId"])

is accessing the web.config.
Furthermore, if you have two configuration files, only the file of the project you build as Startup project is read by either ConfigurationManager.AppSettings or WebConfigurationManager.AppSettings.
Clean-up crew needed, grammar spill... - Nagy Vilmos

GeneralRe: web.config file access in another project Pin
vkEE7-Feb-14 4:23
vkEE7-Feb-14 4:23 
GeneralRe: web.config file access in another project Pin
Marco Bertschi7-Feb-14 4:34
protectorMarco Bertschi7-Feb-14 4:34 
GeneralRe: web.config file access in another project Pin
vkEE7-Feb-14 4:39
vkEE7-Feb-14 4:39 
GeneralRe: web.config file access in another project Pin
Marco Bertschi7-Feb-14 4:39
protectorMarco Bertschi7-Feb-14 4:39 
QuestionHandling Multiple result sets in EF Pin
meeram395-Feb-14 4:04
professionalmeeram395-Feb-14 4:04 
AnswerRe: Handling Multiple result sets in EF Pin
Matt U.5-Feb-14 10:39
Matt U.5-Feb-14 10:39 
QuestionHow to close a TextWriter? Pin
Zhivko Kabaivanov5-Feb-14 2:53
Zhivko Kabaivanov5-Feb-14 2:53 
AnswerRe: How to close a TextWriter? PinPopular
Richard Deeming5-Feb-14 3:02
mveRichard Deeming5-Feb-14 3:02 
QuestionSQL Server Database for C# connectivity Pin
Mohan Subramani5-Feb-14 1:06
Mohan Subramani5-Feb-14 1:06 
AnswerRe: SQL Server Database for C# connectivity Pin
OriginalGriff5-Feb-14 1:33
mveOriginalGriff5-Feb-14 1:33 
SuggestionRe: SQL Server Database for C# connectivity Pin
Richard Deeming5-Feb-14 2:59
mveRichard Deeming5-Feb-14 2:59 
QuestionSQL Exception was unhandled Pin
Oonagh5-Feb-14 0:32
Oonagh5-Feb-14 0:32 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:14
professionalKornfeld Eliyahu Peter5-Feb-14 1:14 
GeneralRe: SQL Exception was unhandled Pin
Oonagh5-Feb-14 1:18
Oonagh5-Feb-14 1:18 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:29
professionalKornfeld Eliyahu Peter5-Feb-14 1:29 
GeneralRe: SQL Exception was unhandled Pin
Oonagh5-Feb-14 1:30
Oonagh5-Feb-14 1:30 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:31
professionalKornfeld Eliyahu Peter5-Feb-14 1:31 

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.