Datarow to IEnumerable

Hi guys,

How are you doing? :slight_smile:

Simple .net question: is it possible to convert a datarow to a IEnumerable?


1 Like

Yes buddy we can
if the datatable is stored in a variable named out_dt
This gives you the System.Collections.IEnumerable…

Hope this would help you


1 Like

I want to use it in my “For each activity” but it seem to be a IEnumerator instead of IEnumerable.
It seem I dont realy understand something xD

(the purpose is to check if i have empty element in my datarow. So i want to enumerate into it and check for each element of my datarow)


May be we can use this buddy

out_dt.Rows.OfType(of IEnumerable)

inside the for each actvity buddy