Complete C# Database Application with One Line of Code
I learned C# after working with IBM/Lotus Notes and Domino. In that product set, you can create a full database application without writing any programming code at all. The application includes an on-disk database, a GUI front-end that supports create/update/delete of records, and a security infrastructure. The whole development process is point-and-click.
I wanted to use Visual C# to duplicate the same general type of application and hoped to do so in a “visual” style with the same development simplicity. Examples and tutorials that I found within Microsoft.com and around the web were somewhat helpful, but they all lacked important details, so I wrote my own, presented here.
The result requires one line of coding – not quite fully visual, but pretty close! The finished program is essentially a “Hello World” application for database operations. It works as-is but is meant to be used as a starting point for larger programs with expanded data fields and fancier front-ends.