Quantcast
Channel: Reading settings from app.config or web.config in .NET - Stack Overflow
Viewing all articles
Browse latest Browse all 29

Answer by JMat for Reading settings from app.config or web.config in .NET

$
0
0

Here's an example: App.config

<applicationSettings><MyApp.My.MySettings><setting name="Printer" serializeAs="String"><value>1234 </value></setting></MyApp.My.MySettings></applicationSettings>Dim strPrinterName as string = My.settings.Printer

Viewing all articles
Browse latest Browse all 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>