Output data table

datatable
uiautomation
activities
studio

#1

Hi all,

i did data scrapping in an application and stored in a data table.

how to check if data table is empty or not. (headers will always available and we need to check for data emptiness. )

thank you.


#2

@Venkatesh_Chowdary count number of rows in the datatable. If number of rows is greater than zero then data exists in datatable.

Below method gives number of rows in datatable
DataTableName.Rows.count