S108 Exception Based Query

Hi,

While am trying to retrieve the data from excel to add the items to the Queue, am facing the above exception as BC30512 Option strict an disallows implicit conversions from the data table to Inumerable.

For reference, the screenshot is attached. Please suggest any !!

Thanks in Advance,
Harsha.

Try using “For Each Row in Datatable” instead

After indicating, facing the exception

@Harsha_S1

Please search for the activity for each row in Datatable…

else change the type argument to datarow in the current for each…

or write dt_ReadRange.AsEnumerable and give type argument as datarow

hope this helps

cheers

2 Likes

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