How to inject from list of objects to DataTable?

Jan 19, 2012 at 6:59 PM

I am very new to ValueInjection.

I have managed to find some code that shows me how to inject from a DataTable to a list of objects:)

I would now like to do the reverse ie. Inject from a list of objects to a DataTable.  Any idea how I might acheive this? Some example code would be appreciated.

Regards,

Paul.

Coordinator
Jan 21, 2012 at 8:35 PM

I think it's going to be easier to a foreach  loop for this, and probably valueinjecter could be used inside of it

Jan 21, 2012 at 8:47 PM

Hi o,

Thanks for getting back to me.

I've managed to acheive this by writing my own LINQ extension, but thanks for getting back to me.

I've got another question about ProDinner, but I'll post it on the ProDinner Discussions.

Regards,

Paul.