Class 'system.data.datatable' cannot be indexed because it has no default property

i am getting below error when trying to get a record from xls sheet
i am followig a tutorial

please provide the resultion to this

one more thing in tutorial while using ctrl+K is created Set Name but for me it is creating Set Var

5 Likes

hi
welcome to uipath community
you were almost done
it should be like this
customersData.Rows(rowNumber)(“first name”).ToString

Cheers @gmishra15

4 Likes

thank you much
but why it was working fine in the tutorial
customersData(rowNumber)(“first name”).ToString?

1 Like

hm i hope it would have Rows in it
no worries
Can i have a screenshot of it if possible
Cheers @gmishra15

see he has not used .Row for the first Type into Input activity and there is no error for him

Hmm…this looks strange
@gmishra15

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