If you copy/paste source code from a library, don't just pluck the file from that library, drop it into your code and assume it will just work.
In this case, ReadFeature() is an extension method defined by the library that you obviously haven't copied in as well. http://code.google.com/p/mapguide-contrib/source/browse/trunk/Libraries/DotNet/OSGeo.MapGuide.Extensions/OSGeo.MapGuide.Extensions/MgExtensionMethods.cs Programmming is more than blind copy/pasting code. If you're going to copy/paste code, do it smart. Understand the *context* of the code you're copying from and how it fits into the code your pasting into. - Jackie -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Add-layer-dinamically-from-search-results-tp5033775p5035374.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
