The Basics > Specifying a Data Source > What is storage mode? |
The easiest way to display two-dimensional array data in a grid is with storage mode. At design time, set the DataMode property of a TDBGrid control to 4 - Storage. At run time, create an instance of the ComponentOne XArrayDB object included with True DBGrid, populate it as you would a standard Visual Basic array, then attach it to the Array property of a TDBGrid control in code.
For more information on using True DBGrid in storage mode, see Storage Mode.