tanu
(Tanu)
December 29, 2021, 12:25pm
1
Hello, I need to add a data row in a datatable. But the thing is that the data table is a part of an array. So, the array is of datatables. I need to check a particular condition, if that is true i need to add data row in it. Any help is appreciated.
Hi! welcome to community!
Have a view on this amazing content this will help you from scratch.
Hi All,
Datatable - variable type is the most commonly used variable type by all UiPath users
And it’s been the most often asked queries in forum especially on its manipulation
So I would like to have this post as a repository for those who are looking for expressions related to Datatable
Let’s go one by one keeping dt as name of datatable variable
1. Get number of rows in a datatable dt
dt.Rows.Count (output - int32 type)
2. Get number of columns in a datatable dt
dt.Columns.Count (output…
Regards,
NaNi
3 Likes
Hi @tanu
You steps could be as follows below!
For each in arrayDT set the type argument as datable!
Inside that use for each row in datatable as pass the itemDt
Use adddata row and pass the row values in array row
No, i am reading 5-8 csv files and creating datatables. Then i want to invoke the same process for all those datatables created
Regards
2 Likes