Click here to Skip to main content
15,897,226 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ERROR: Cannot have multiple items selected in a DropDownList. Pin
Imran Khan Pathan9-Jul-07 4:06
Imran Khan Pathan9-Jul-07 4:06 
Questiongenerate an assembly from a resource file programatically Pin
Prajin9-Jul-07 2:54
Prajin9-Jul-07 2:54 
QuestionFormatting GridView Pin
Jay_se9-Jul-07 2:54
Jay_se9-Jul-07 2:54 
AnswerRe: Formatting GridView Pin
Not Active9-Jul-07 3:58
mentorNot Active9-Jul-07 3:58 
GeneralRe: Formatting GridView Pin
Jay_se9-Jul-07 4:30
Jay_se9-Jul-07 4:30 
GeneralRe: Formatting GridView Pin
Not Active9-Jul-07 5:10
mentorNot Active9-Jul-07 5:10 
GeneralRe: Formatting GridView Pin
Jay_se9-Jul-07 18:30
Jay_se9-Jul-07 18:30 
QuestionWeb.Config, DLLs and NUnit Pin
Malcolm Smart9-Jul-07 2:45
Malcolm Smart9-Jul-07 2:45 
I am using NUnit to test DLL components of a C# web app. All is working a treat except code that accesses the Web.Config file. As the DLL is being run through NUnit and not a webserver, it can't access the web.config file and falls over.

Is there a way I can explicitly tell the ConfigrationManager class to use a specific file to get its config settings? Something like

ConfigurationManager myMgr = new ConfigurationManager("c:\mywebfolder\web.config");


Cheers

Malc

"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF

AnswerRe: Web.Config, DLLs and NUnit Pin
Malcolm Smart9-Jul-07 3:43
Malcolm Smart9-Jul-07 3:43 
GeneralRe: Web.Config, DLLs and NUnit Pin
Kevin McFarlane9-Jul-07 11:51
Kevin McFarlane9-Jul-07 11:51 
QuestionFiltering files Pin
suparichit9-Jul-07 2:20
suparichit9-Jul-07 2:20 
AnswerRe: Filtering files Pin
Dave Sexton9-Jul-07 2:32
Dave Sexton9-Jul-07 2:32 
GeneralRe: Filtering files Pin
suparichit9-Jul-07 2:34
suparichit9-Jul-07 2:34 
QuestionControl Memory Footprint Pin
Dave Sexton9-Jul-07 1:54
Dave Sexton9-Jul-07 1:54 
QuestionPopulating DropDownList from XML? Pin
chand109-Jul-07 1:36
chand109-Jul-07 1:36 
AnswerRe: Populating DropDownList from XML? Pin
valerian.precop9-Jul-07 2:05
valerian.precop9-Jul-07 2:05 
AnswerRe: Populating DropDownList from XML? Pin
Imran Khan Pathan9-Jul-07 2:07
Imran Khan Pathan9-Jul-07 2:07 
QuestionSqlDataSource - use info in cs file?? Pin
munklefish9-Jul-07 1:30
munklefish9-Jul-07 1:30 
AnswerRe: SqlDataSource - use info in cs file?? Pin
Fred_Smith9-Jul-07 1:39
Fred_Smith9-Jul-07 1:39 
GeneralRe: SqlDataSource - use info in cs file?? Pin
munklefish9-Jul-07 2:37
munklefish9-Jul-07 2:37 
GeneralRe: SqlDataSource - use info in cs file?? Pin
Fred_Smith9-Jul-07 3:15
Fred_Smith9-Jul-07 3:15 
GeneralRe: SqlDataSource - use info in cs file?? Pin
munklefish9-Jul-07 3:28
munklefish9-Jul-07 3:28 
GeneralRe: SqlDataSource - use info in cs file?? Pin
Fred_Smith9-Jul-07 5:02
Fred_Smith9-Jul-07 5:02 
GeneralC# 2.0 Book Pin
Kuricheti9-Jul-07 1:18
Kuricheti9-Jul-07 1:18 
GeneralRe: C# 2.0 Book Pin
Parwej Ahamad9-Jul-07 1:32
professionalParwej Ahamad9-Jul-07 1:32 

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.