Creating an automation for some process and getting error while assigning to variables

I’ve even declared the variable Num1 and also converted Number1 in datatable column using cint but still getting an error,thanks for any help!!!



@Sai_Kumar_111

Please try cint(row("Number1").ToString)

Cheers

1 Like

Hi Anil,yes the error is removed but i’ve seen the exact automation has got implemented without using .tostring,can you let me know why!!!

@Sai_Kumar_111

Ideally it would work…i hope this is inside for each row in datatable activity…sometimes the columns are casted as objects…and at that time we need to add .ToString

Hope this helps

Cheers

1 Like

Thank you Anil,this helped… :slightly_smiling_face:

1 Like

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