I am using Office 365 package and using get list items to fetch ceratin list items. Output of this activity is datatable but I need to have this datatable as a dictionary array.
Datatable → Array of [dictionary(String,Object)]
getListItems → dict as shown in variable panel below:
Hi @sonaliaggarwal47,
Use below code dictArray= dt.AsEnumerable() _ .Select(Function(row) New Dictionary(Of String, Object) From { {row("Column1").ToString(), row("Column2")}}).ToArray()