How to know the quantity of rows that a Data Table has?

I’m new to UiPath, please help. How to know the quantity of rows that a Data Table has?

If you have a DataTable called MyDataTable, you can get that using MyDataTable.Rows.Count, which will return an integer representing the number of rows.

Using methods and functions from the .NET framework, you can get other information and do operations on the DataTables you use in your automation: https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable?view=netframework-4.7.2

1 Like

Thank you very much Mateus.