How to print specific data from datatable

Hi All

I have tried to read excel and try to print particular column values but i got following error


Can anyone please let me know how to fix this?

Hi @divya.17290 ,

Could you try using it like below :

CurrentRow["MemberID"].ToString()

Can you try using Get row item activity
image

Hi @divya.17290 ,

what about below

CStr(CurrentRow(“MemberID”))

thanks
Rajkumar

I tried but i got error

I will try and let you know

@divya.17290
just to give some more info about the issue
Your UiPath Project is set to C#. The used Syntax is Vb.Net. So ensure that the set Programming Languague and the Syntax is matching

Fixing can be done as described by Arpan:

Kindly note: we have to close statements with a ; in C#

2 Likes

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