I am converting an application from windows forms to mono touch.
The following code works fine on windows forms (visual studio)
DataTable table;
...
var rem = (from t in table.AsEnumerable().Cast<DataRow>()
where t.Field<int>("id") == i.ID
select t).ToArray<DataRow>();
however It does not compile in mono touch, it complains about the
"AsEnumerable" part.
Any idea what might be wrong? (I'm just beginning to learn Linq - in case
the question is banal).
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Linq-question-tp4222520p4222520.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch