| Bound mode is
suitable for managing data using automatic interaction with the data store. You
can attach the DataGridView control directly to its data source by setting the
DataSource property. When the control is data bound, data rows are pushed and
pulled without the need of explicit management on your part. When the
AutoGenerateColumns property is true, each column in your data source will
cause a corresponding column to be created in the control. If you prefer to
create your own columns, you can set this property to false and use the
DataPropertyName property to bind each column when you configure it. This is
useful when you want to use a column type other than the types that are
generated by default. For more info on databinding the DataGridView, check out
the following MSDN article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnforms/html/winforms11162004.asp
Also, check out the DataBinding FAQ posted at WindowsForms.net |