Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing to the Config File
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Writing to the Config File
Divers
Thread ID:
00944011
Message ID:
00944011
Vues:
63
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/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform