Introduction:
Here I will explain how to read or get appsettings values from app.config file in c#, vb.net. By using System.Configuration reference we can read or get appsettings values from app.config file in windows or console application in c#, vb.net.
Here I will explain how to read or get appsettings values from app.config file in c#, vb.net. By using System.Configuration reference we can read or get appsettings values from app.config file in windows or console application in c#, vb.net.
Description:
In previous articles I explained export datagridview data to excel in windows application, create windows forms application setup file in c#, vb.net, delete windows service from system, create windows service in c#, vb.net and many more articles related to asp.net using c#, vb.net. Now I will explain how to read or get appsettings values from app.config file in c#, vb.net.
In previous articles I explained export datagridview data to excel in windows application, create windows forms application setup file in c#, vb.net, delete windows service from system, create windows service in c#, vb.net and many more articles related to asp.net using c#, vb.net. Now I will explain how to read or get appsettings values from app.config file in c#, vb.net.
To read appsettings values from app.config file first create
new windows application and open your app.config
file and add appsettings string like as shown below