(Basic?) Question re datagridview MSDN sample program
The answer may be obvious to some, but I'm stumped.
Anyway, in the following sample program using a datagridview a datafile is loaded into a datagrid that is sized for the amount of data.
ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_fxsamples/html/141516e8-05c4-45e9-b344-ae7815e68c29.htm
or under
DataGridView control [Windows Forms]
samples
Where I'm lost is how does it do it? Where, programmatically, or intrinsically, is the data file read and the data put in the grid and where/how is the grid sized.
Apologies for making you have to download the sample and look through it.
Idiot's guide to this greatly appreciated.
Thanks in advance.
Andy

