View Single Post

  #1 (permalink)  
Old 01-17-2005
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Searching pushpin sets in C#

I have read through many posts on this forum, and I can not figure out why this does not work. I have three pushpin sets, and I want to search one particular set for a certain pushpin. I have declared all the datasets and recordsets variables but I can not figure out how to select which pushpin set I want to look through.

MapPoint.Location loc;
MapPoint.DataSets DSets = axMappointControl1.ActiveMap.DataSets;
MapPoint.DataSet Dset = axMappointControl1.ActiveMap.DataSets(???)
MapPoint.Recordset RSet = Dset .QueryAllRecords();


That is the part of the code I am referring to, but I dont know what goes where the question marks are. I thought i could use .Item but it does not work. Im new to mappoint, so Im probably missing something obvious, but I cant figure it out. Any help would be appriciated.
Reply With Quote