How do I add a datarow in a datatable which is inside an array

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.

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

Regards

2 Likes