SetNull Method

DataRow.SetNull Method (DataColumn)

 

Sets the value of the specified DataColumn to a null value.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

protected void SetNull(
	DataColumn column
)

Parameters

column
Type: System.Data.DataColumn

A DataColumn.

Use the IsNull method to determine whether a column contains a null value.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft