Hi Guys, I hope everyone is doing great:-)
I have a question...
How To check if datatable is empty or no data is inside a datatable yet?
Can you provide me with just code snippet?..
Thanks:)
Hi Guys, I hope everyone is doing great:-)
I have a question...
How To check if datatable is empty or no data is inside a datatable yet?
Can you provide me with just code snippet?..
Thanks:)
The rows collection should have a 0 count
Dim dt As DataTable
If dt.Rows.Count > 0 Then
'do stuff
End If
Thanks:-)
Can i do this??
Dim dt as DataTable
if dt is nothing then
'do some stuff
end if
@tinstaafi
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.