PLEASE HELP ASAP!!!
I have programmed a custom object that looks something like this:
Public Class MyObject
public property prop1 as string
public property prop2 as integer
public property prop3 as double
public property dr as datarow
And I have created a list(of MyObject)
What i am looking to do is pull from this list, say:
prop1, dr.item("Item_a"), dr.item("Item_j")
(In other words a property or 2 and a few items from the datarow... Not all the items) for each object in the list and to populate that data into a datatable / new custom object (preferably datatable) so i can use it to update something else.
How can I achieve this in the best way?
I'm thinking LINQ, but it's not working for me...