Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label app.config. Show all posts
Showing posts with label app.config. Show all posts

Read(Get) Appsettings Value from App.Config File in C#, VB.NET

Feb 26, 2015 0 comments
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.

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.

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

Get (Read) Connectionstring from App.Config File in C#, VB.Net

0 comments
Introduction:

Here I will explain how to read or get connectionstring from app.config file in
c#, vb.net. By using System.Configuration reference we can read or get connectionstring from app.config file in windows or console application in c#, vb.net.

Description:

In previous post I explained encrypt or decrypt connectionstring in app.config file, export datagridview to crystal report in windows application,
convert currency or numbers to words in asp.net, angularjs bind dropdownlist with text and value, jQuery tag cloud example in asp.net and many more articles related to asp.net using c#, vb.net. Now I will explain how to read or get connectionstring from app.config file in c#, vb.net.

To read connectionstring from app.config file first create new windows application and open your app.config file and add conneciton string like as shown below

Other Related Posts

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.