Click here to Skip to main content
15,913,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to add Radio button list instead of checkboxes in listview Pin
musefan9-Feb-09 6:39
musefan9-Feb-09 6:39 
AnswerRe: how to add Radio button list instead of checkboxes in listview Pin
howlettt9-Feb-09 8:31
howlettt9-Feb-09 8:31 
QuestionConnecting to database Pin
kibromg9-Feb-09 5:54
kibromg9-Feb-09 5:54 
AnswerRe: Connecting to database Pin
Rob Philpott9-Feb-09 6:03
Rob Philpott9-Feb-09 6:03 
GeneralRe: Connecting to database [modified] Pin
kibromg9-Feb-09 6:16
kibromg9-Feb-09 6:16 
GeneralRe: Connecting to database Pin
Rob Philpott9-Feb-09 6:27
Rob Philpott9-Feb-09 6:27 
GeneralRe: Connecting to database Pin
kibromg9-Feb-09 6:33
kibromg9-Feb-09 6:33 
GeneralRe: Connecting to database Pin
Rob Philpott9-Feb-09 6:43
Rob Philpott9-Feb-09 6:43 
Sure. I'm just about to leave work now, so I'll put something together in a couple of hours once home. A few things to check - this file is called web.config and resides in the usual place with your application?

Also, you absolutely cannot change the format of this file? A simple inclusion of appSettings would make this a breeze.

I'd create a class which reads this file and then exposes each setting you need as a public string property. If I remember correctly the ASP.NET world watches web.config and updates automatically - you wouldn't get that with this approach.

More later...

Regards,
Rob Philpott.

GeneralRe: Connecting to database Pin
kibromg9-Feb-09 6:57
kibromg9-Feb-09 6:57 
GeneralRe: Connecting to database Pin
Rob Philpott9-Feb-09 8:54
Rob Philpott9-Feb-09 8:54 
GeneralRe: Connecting to database Pin
kibromg9-Feb-09 23:41
kibromg9-Feb-09 23:41 
GeneralRe: Connecting to database Pin
Rob Philpott9-Feb-09 23:50
Rob Philpott9-Feb-09 23:50 
GeneralRe: Connecting to database Pin
kibromg10-Feb-09 0:05
kibromg10-Feb-09 0:05 
GeneralRe: Connecting to database Pin
Rob Philpott10-Feb-09 0:19
Rob Philpott10-Feb-09 0:19 
GeneralRe: Connecting to database Pin
kibromg10-Feb-09 0:37
kibromg10-Feb-09 0:37 
GeneralRe: Connecting to database Pin
Rob Philpott10-Feb-09 0:57
Rob Philpott10-Feb-09 0:57 
GeneralRe: Connecting to database Pin
kibromg10-Feb-09 1:09
kibromg10-Feb-09 1:09 
QuestionExtract data in a binary file using c# Pin
mamamiya_9-Feb-09 5:18
mamamiya_9-Feb-09 5:18 
AnswerRe: Extract data in a binary file using c# Pin
led mike9-Feb-09 5:32
led mike9-Feb-09 5:32 
AnswerRe: Extract data in a binary file using c# Pin
#realJSOP9-Feb-09 5:56
professional#realJSOP9-Feb-09 5:56 
GeneralRe: Extract data in a binary file using c# Pin
mamamiya_9-Feb-09 6:21
mamamiya_9-Feb-09 6:21 
Question[Message Deleted] Pin
suni_dotnet9-Feb-09 5:07
suni_dotnet9-Feb-09 5:07 
QuestionRe: my senerio Pin
led mike9-Feb-09 5:11
led mike9-Feb-09 5:11 
AnswerRe: my senerio Pin
Dan Neely9-Feb-09 5:39
Dan Neely9-Feb-09 5:39 
QuestionFileSystemWatcher Pin
Jacob D Dixon9-Feb-09 5:03
Jacob D Dixon9-Feb-09 5:03 

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.