Hi Mahesh, Can you let me know how do I read that List A ({“EUR”,“INR”,“SGD”,“MYR”,“ROL”}.ToList()) from an excel sheet? Because it’s really lots.
First Enter your Country name and Currency in two columns of an excel sheet,
Then use read range activity to read the excel sheet, check the add headers property. and store it in a datatable variable dta
List A=(From p in dta.Select()
Select Convert.ToString(p.Item(“Currency_Name”))).ToList()
Now List A will contain the Currencies.
Replace Currency_Name with Currency Column Name
Regards,
Mahesh.
1 Like
Perfect, what does is “p” stored in?
“p” → data row Alice name no need to declare anything.
1 Like
You’re brilliant, it works