Page 1 of 1

DataTable to LINQ entity

Posted: Mon 21 Jun 2010 09:58
by maxcpr
Hello !

I'm new in LINQ. Would you suggest me how i can populate old-fashioned DataTable :D by using LINQ. Is it possible indeed?

I mean i have DataTable which was generated in common DataSet. And now i want to fill it using LINQ, is it possible? And if is, how i can do it.

I know that i might do it just invoke Fill() method,
but since i want to generalize selection procedure from diffrent types data sources (ie List, Array[...], DataTable) in uniq way i intend to do it by using linq and Expression - for set condition on this selection.

Thank!

Posted: Wed 23 Jun 2010 15:01
by AndreyR

Posted: Thu 24 Jun 2010 06:54
by maxcpr
Thank a lot :!: