I don't see dictionary package

Dear all,

I don;t see any dictionary package in the manage package.

can you help. what is the name there.

If it’s for using dictionary you can use assign directly by initialising the dictionary as new dictionary

1 Like

@balkishan,

No packages required for dictionary. Follow this tutorial on how to work with dictionary.

@balkishan

what do you want to do?

you dont need a package at all

use assign with key and value and data would be assigned

cheers

1 Like

Hi, I need to read the excel values and add in the Dictionary variable.

I just need your help.

I have read the CSV file and Store the data in DataTable.

Now I take the loop (for each). I want to iterate each items from the datatable and add it in Dictionary variable. But i am getting an error in DataTable inside the loop. Could you please help.

I want to know one thing also , why loop activity is showing this , in the video it;s looking different, is it because it’s an updated activity. kindly confirm.

@balkishan

it is updated activity

and use for each row in datatable instead of for each

for dict

inside loop use assign with dict("key") =currentrow("Column").ToString

but why do you want to convert datatable to dictionary again?

cheers

1 Like

Got
First I want to loop through each items from excel value so it will store in a datatable variable. Then loop through the Dt variable it’s easy and fast to store the excel data, so one by one value we can add in the dictionary variable.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.