I have imported a Map Info Shape file into Mappoint and Converted it to a PTM file. I now want to query this file in c#.net. I can open the map and view it on the interface (using the active x control).

I am using

IEnumerator ienum = app.OpenMap(MapPath,false).DataSets.GetEnumerator( );

Then i try to loop around the enumerator, but with no luck

I actually want to open a DataSet and Query All Records, but cannot seem to find the correct syntax

Can anybody help