HS Codebank Article
Back
DataRow.IsNull Method (DataColumn)

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


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
There are no comments yet.