Hi, it depends on what you consider as empty, if you consider empty as null values then you can check datatable Is Nothing or else if you consider empty as no data inside then datable.Rows.Count = 0 .
you can refer to the following tutorial to strengthen your basics
I hope this helps Cheers!