Gets or sets whether null values are allowed in this column for rows that belong to the table.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property AllowDBNull As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SpreadDataColumn
Dim value As Boolean
instance.AllowDBNull = value
value = instance.AllowDBNull |
| C# | |
|---|
public bool AllowDBNull {get; set;} |
Property Value
Boolean:
true if null values are allowed;
false otherwise
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also