Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I created an in-memory results ITable and I need to add it to the current ArcMap document/map to see the generated data. How can I do it?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Try creating a new IStandaloneTable, assign your table to IStandaloneTable.Table, cast the focus map to IStandaloneTableCollection, and add the standalonetable to it.

Might need to call IMxDocument.UpdateContents too.

share|improve this answer
It worked well! Thanks! –  Goldorak84 Dec 18 '12 at 19:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.