MapPoint.Recordset rs = objDataSet.QueryAllRecords(); rs.MoveFirst(); while (!rs.EOF) { rs.Pushpin.Highlight = true; rs.MoveNext(); } rs = null;