<Ph***@discussions.microsoft.comwrote:
Thanks for the reply. That is what I am trying to do. I guess I don'tSure, just write a named class to do the same thing. The anonymous class
have
anonymous type support because it doesn't like the syntax for this:
var item = new { Type_ID = rdr[0], Type = rdr[1] };
says Type is expected. I'm using VS 2005, target is Pocket PC. Is there
another way to do it?
just allows you to not litter your code with little class declarations,
but there's no reason you can't write the class explicitly instead.
Pete