Hi,<br><br>I have a problem for using a query in my application. In the studio, I have set the parcel layer<br>for the layout SheboyganPhp. I ticked the ID for the parcel. I set the ID as the $currentselection.<br>In my code on selection on the map I need to retrieve these ids. My actual
<br>requirement is, I have a button on the toolbar. On clicking this report button, I need to get these ids<br>on the taskpane. Here I am using <a href="http://asp.net">asp.net</a>. My code is<br><br> MgUserInformation userInfo = new MgUserInformation("Administrator","admin");
<br> MgSite site = new MgSite();<br> site.Open(userInfo);<br> MgSiteConnection siteConnection = new MgSiteConnection();<br> siteConnection.Open(userInfo);<br> MgSelection mapSelection = null;
<br> MgResourceService resService = siteConnection.CreateService(MgServiceType.ResourceService) as MgResourceService;<br> MgFeatureService featService =(MgFeatureService)siteConnection.CreateService(MgServiceType.FeatureService
);<br> MgMap map = new MgMap();<br> map.Open(resService, "Sheboygan");<br><br>But "map.Open" Statement causing error on me. Kindly help me, because this only the mailing list is my <br>dependency.
<br><br>Thanks....