View Single Post

  #1 (permalink)  
Old 12-20-2006
Kevin_Williams Kevin_Williams is offline
Junior Member
Yellow Belt
 
Join Date: Nov 2006
Posts: 20
Highlight all pushpin in dataset?

Is there an easy way to highlight all the pushpin in a dataset?
Currently, I'm doing the following
Code:
MapPoint.Recordset rs = objDataSet.QueryAllRecords();
rs.MoveFirst();
while (!rs.EOF)
{
  rs.Pushpin.Highlight = true;
  rs.MoveNext();
}
rs = null;
Reply With Quote