Hi;
At first, sorry about the control selection for this thread, but the combobox control doesn't displays the map control.
I'm using "maps control" in a Windows Forms and works ok, I'm using a .SHP/DBF file.
Now I need to pass data from DBF table to ITEMSOURCE property, I Want to point the map and it displays DBF information.
I've assigned a DataSet with data from DBF file to Itemsource property but I'm not sure if I'm doing right.
Any help please.
ShapeFileLayer shape = new ShapeFileLayer();
shape.Uri = @"C:\route\file.shp";
shape.ShapeIDPath = "ID_1";
shape.ShapeIDTableField = "NAME_1";
shape.ItemSource = ds;
this.maps1.Layers.Add(shape);
Regards.