Twenty-Two tutorials are presented in this chapter. The tutorials assume that you are familiar with programming in Visual Studio, know what a DataSet is, and generally know how to use bound controls. The tutorials provide step-by-step instructions—no prior knowledge of True DBGrid for WinForms is needed. By following the steps outlined in this chapter, you will be able to create projects demonstrating a variety of True DBGrid for WinForms features, and get a good sense of what the True DBGrid for WinForms can do and how to do it.
The tutorials use an Access database, C1NWind.mdb. The database file C1NWind.mdb is in the Common subdirectory of the ComponentOne Samples folder and the tutorial projects are in the Tutorials folder of Documents\ComponentOne Samples\WinForms\C1TrueDBGrid. Although the tutorials are numbered you do not have to complete them in order; the tutorial number refers to the files in the Tutorials folder.
We encourage you to run the tutorial projects in Visual Studio, examine the code, and experiment with your own modifications. This is the best and quickest way to realize the full potential of True DBGrid. You will find that True DBGrid is very easy to use, and it enables you to create powerful database applications.
The tutorials assume that the database file C1NWind.mdb is in the Documents\ComponentOne Samples\Common directory, and refer to it by filename instead of the full pathname for the sake of brevity.
Some of the projects created in the following tutorials are built upon later tutorials; for example the projects created in tutorials 1, 3, 6, 7, 8, and 10 are used in other tutorials. As the projects created in some of the tutorials are used again in multiple tutorials it is recommended that you save your file after completing each tutorial.