GrapeCity MultiRow Windows Forms Documentation
DataSourceNullValue Property


Gets or sets the value saved to the data source when the user enters a a null reference (Nothing in Visual Basic) value into a cell.
Syntax
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property DataSourceNullValue As Object
Dim instance As CellStyle
Dim value As Object
 
instance.DataSourceNullValue = value
 
value = instance.DataSourceNullValue
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[RefreshProperties(RefreshProperties.Repaint)]
public object DataSourceNullValue {get; set;}

Property Value

A System.Object value that represents the value saved to the data source when the user specifies a a null reference (Nothing in Visual Basic) value. The default is DBNull.Value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellStyle Class
CellStyle Members

 

 


Copyright © GrapeCity, inc. All rights reserved.