Creating a database connection string from app.config is a very common practice used in C# windows based application. Watch the below video or follow the simple steps to make connection with database in C# window based application using App.config file.
Step1. Open Visual Studio and create a new Windows application. (Path : Start -> All Programs -> Microsoft Visual Studio 2010-> Microsoft Visual Studio 2010)
Step2. Add a new Application Configuration file App.config file to the project.
Step3. Provide the connection string name, database name and system related information in the App.config file.
For years, creating digital content was all about one thing: pleasing search engines. If you ranked on Google, you won. Everything else—social shares, referrals, even conversions—usually flowed from that visibility. […]
Grocery supply chains form the backbone of food distribution, ensuring products move from farms and manufacturers to store shelves and, increasingly, to customers’ doorsteps. Traditionally, these supply chains struggled with […]
If you write code, you already know how important it is to keep it readable and organised. One simple yet powerful habit is commenting. It helps you explain sections of […]