Vb Net Check If Datatable Has Rows

[Solved] Vb Net Check If Datatable Has Rows | Vb - Code Explorer | yomemimo.com
Question : vb.net check if datatable has rows

Answered by : handsome-hawk-66841vp0qcoq

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

Source : https://stackoverflow.com/questions/851075/efficient-way-to-check-if-datatable-has-row | Last Update : Tue, 07 Apr 20

Answers related to vb net check if datatable has rows

Code Explorer Popular Question For Vb