How to read the APP.Config file using the System.Configuration Class Object in C#.

preview_player
Показать описание
How to read the APP.Config file using C#.

Read the AppSettings by the Key Name, and get the Value.

I will show you how to get your connection parameters from a APP.CONFIG, and then connect to SQL Server.

How to Reference Manager to select the System.Configuration.

How to set up a USING statement to use System.Configuration.

I will show you how to test APP.CONFIG to make sure your key/values are available.

Use the SqlConnection object to connect to SQL Server.

Lastly, I will show you how to step through your application, and test the code we just wrote.

#softwarenuggets
Рекомендации по теме
visit shbcf.ru