How to count the number of rows in a Datatable?

Hi Team,

How to count the number of rows in a Datatable?

Thank you.

1 Like

Hi @sivapriya.s

You can count the number of rows in a datatable using the below command

DataTableName.Rows.Count

5 Likes

@Lahiru.Fernando Thank you :slight_smile:

1 Like

Use writeline activity with name. rows. count. Tostring
Here., the name is nothing but your database name…
Hpy automation

4 Likes