Settings

Microsoft Visual Studio lets you create a database connection using its IDE, and it’s quite powerful as well, but personally I prefer to create my database connections programmatically. When creating my connection’s code manually I find it easier to follow the code, plus it can be easier to debug as well. I am by no [...]

{ 1 comment }

Using the Settings file in C#

by Dave on July 22, 2009

in Windows Forms

As a software developer, how many times have you needed to store your application’s settings in a file, be it an ini file, an xml file, or maybe even a plain text file? It is a common requirement for many developers, and with C# it is really simple to do. The Microsoft.NET Framework 2.0 introduced [...]

{ 2 comments }