Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing to the Config File
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Writing to the Config File
Miscellaneous
Thread ID:
00944011
Message ID:
00944011
Views:
64
Hi All,
I have been looking through the Help File and found the section that writes a custom config file.

What I would like to do is replace one line in my config file with a user enter value

the one line is :
	<databases>
		<add key="MyDB\Connection" value="server=(local);uid=zzz;pwd=aaaa;database=qqqqq;" />
	</databases>
I want to replace this line with what the user entered for there connection info. so it would appear as follows
	<databases>
		<add key="MyDB\Connection" value="server=192.192.192.192;uid=joeSchmo;pwd=justJoe;database=RealTV;" />
	</databases>
TIA
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Next
Reply
Map
View

Click here to load this message in the networking platform