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.
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.
@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