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
Also in C#:
- vb.net check if datatable has rows
- how to change scenes in unity
- how to update modal class using dbfirst in asp.net core
- what is c# used for
- unity rigidbody addforce
- string isnullorempty vs isnullorwhitespace
- c# string to character array
- unity face direction of movement
- how to compare datetime in c#
- populate combobox from array c#
- how to trim path in C#
- create object in c#
- unity fall damage c#
- datatable return column names
- rotatearound unity
- internal c#
- null coalesce ternary c#
- button color uwp c#
- c# textbox tab column
- wpf textblock line break code behind
- insert new item listview c#
- c# console delay
- print line in python