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'm new in using Arcobject . i'd like to set dbf of ArcMap TOC to the Combobox Items. How can i set dbf files to items of combobox using C# programming and Arcobject ?

share|improve this question
1  
What do you mean by 'set dbf files to items of combobox'? Do you want to get a list of dbf files, or tables that are added in the Map? –  Devdatta Tengshe Dec 9 '12 at 6:01
    
yes . i want to get a list of dbf files or tables aht added in the ArcMap. –  wetland Dec 9 '12 at 6:56

1 Answer 1

up vote 1 down vote accepted

You need to cast from the Map Object to the IStandaloneTableCollection Interface.

You can get the number of standalone tables that this map contains using the StandaloneTableCount property, and then get the appropriate table using the IStandaloneTableCollection.StandaloneTable Property

share|improve this answer
    
thanks . it's work . –  wetland Dec 9 '12 at 16:43
    
@wetland I'm glad to hear that. –  Devdatta Tengshe Dec 10 '12 at 3:19

Your Answer

 
discard

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.