This documentation is archived and is not being maintained.

DataRow.SetNull Method

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

[Visual Basic]
Protected Sub SetNull( _
   ByVal column As DataColumn _
)
[C#]
protected void SetNull(
 DataColumn column
);
[C++]
protected: void SetNull(
 DataColumn* column
);
[JScript]
protected function SetNull(
   column : DataColumn
);

Parameters

column
A DataColumn.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataRow Class | DataRow Members | System.Data Namespace

Show: