dotnetmonitor.com

 
Index
Previous
Next

 

The DataGridViewCellStyle.DataSourceNullValue property could have been called ParseNullValue if the other property was FormattedNullValue, but in the end DataSourceNullValue made good sense. The DataSourceNullValue property is used when writing the value of Null to the cells value. In databound scenarios this value gets written to the database or business object. This is important to control as business objects and databases have different concepts of null. Usually youll want to set DataSourceNullValue to null when working with business objects and DBNull.Value when working with databases. The default value of DataSourceNullValue is DBNull.Value.
What is the DataGridView
Differences between the DataGridView and DataGrid controls
Highlight of features
Structure of DGV
Architecture Elements
Cells and Bands