[mapguide-users] How to create Layer and Datasource and link it to SQL 2008 Datasource in code

miansi AndreiSinelnikov at SierraSystems.com
Wed Feb 4 02:52:29 EST 2009


I've got my Datasource pointing to the SQL 2008 database. In the database I
have few views which I would like to expose as layers on the map. I am using
FDO 3.3.2


I saw following examples:

and I read "Another Way To Create Layers" from MGOS 2.0 Developer's Guide.

I think that I understand the core idea, but need help with details as I
have troubles modifying code from the examples above to fit my requirements.

Can I find somewhere guide as how to programmatically add/remove SQL 2008
datasource and layer attached to this datasource? Or maybe someone will be
generous enough to share sample of code?
I do not care if it would be PHP, Java, VB or C#. Will be able to understand
C++ too :-)

Thank you!
View this message in context: http://n2.nabble.com/How-to-create-Layer-and-Datasource-and-link-it-to-SQL-2008-Datasource-in-code-tp2267589p2267589.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list