Horje
c# todatatable nullable Code Example
c# todatatable nullable
<Extension()>
Public Function HasNull(dataTable As DataTable) As Boolean
    If dataTable Is Nothing Then
        Throw New ArgumentNullException("dataTable must be initialized", "dataTable")
    End If
    Dim allColumns = dataTable.Columns.Cast(Of DataColumn).ToList() ' materialize
    Dim hasNullField As Boolean = dataTable.AsEnumerable().
        Any(Function(row) allColumns.Any(Function(c) row.IsNull(c)))
    Return hasNullField
End Function




Csharp

Related
a infinite loop in text box update ui c# Code Example a infinite loop in text box update ui c# Code Example
how to do Employing defensive code in the UI to ensure that the current frame is the most top level window in c# Code Example how to do Employing defensive code in the UI to ensure that the current frame is the most top level window in c# Code Example
weakreference tryget c# Code Example weakreference tryget c# Code Example
how to get odd saturday in a month in c# Code Example how to get odd saturday in a month in c# Code Example
how to hide the title bar of window in monogame Code Example how to hide the title bar of window in monogame Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7