HS Banner
Back
DataRow.IsNull Method (DataColumn)

Author: Admin 03/28/2021
Language: Visual Basic .NET
Tags:


Description:

Gets a value that indicates whether the specified DataColumn contains a null value.

Article:

Private Sub PrintRows(dataSet As DataSet)
    Dim table As DataTable
    Dim column As DataColumn
    Dim row As DataRow
    For Each table In dataSet.Tables
       For Each row In table.Rows
          For Each column In table.Columns
             If Not row.IsNull(column) Then 
                Console.WriteLine(row(column).ToString())
             End If
          Next column
       Next row
     Next table
End Sub


Back
Comments
Add Comment
There are no comments yet.