Answers for "vb.net check if datatable has rows"

C#
0

vb.net check if datatable has rows

If dtDataTable IsNot Nothing AndAlso dtDataTable.Rows.Count > 0 Then
    'some code
    lbl_count.Text = "Found " & dtDataTable.Rows.Count.ToString & " results"
Else
    'some code
    lbl_count.Text = "Found 0 result"
End If
Posted by: Guest on March-31-2020

C# Answers by Framework

Browse Popular Code Answers by Language