fizzuraimi
(Mohammad Hafiz Bin Zuraimi)
October 12, 2022, 3:15am
1
Hello Master !
I have a question about the variable type. Actually, I use AsEnumerable.Skip(0).Take(10) function, but it turned out have conversion error.
This is the variable declared and type.
Kindly request the assistance to solve this issue. I got stuck almost two weeks
Thanks in advance !
Yoichi
(Yoichi)
October 12, 2022, 3:20am
2
Hi,
Perhaps you should set dt2 DataTable type in variable panel.
And add .CopyToDataTable as the following.
AsEnumerable.Skip(0).Take(10).CopToDataTable
Finally I supose dt1 should be dt2 in WriteRange
Regards,
1 Like
fizzuraimi
(Mohammad Hafiz Bin Zuraimi)
October 12, 2022, 7:37am
3
Thank you. But still have the same error. “Cannot convert to String”.
Hi @fizzuraimi
your DT2 is String type
Yoichi
(Yoichi)
October 12, 2022, 7:39am
5
Hi,
Can you share current screenshot with variable panel?
Regards,
HI @fizzuraimi ,
At times, The Validation Error gets stuck even though you have corrected it. You could directly perform a Run and Check or Maybe closing the xaml and opening it again or Closing the Project and re-opening it again would help.
Make sure to change the datatypes to the appropriate type.
system
(system)
Closed
October 25, 2022, 1:28am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.