You have to use IStandaloneTable to get the tables in the TOC. You can QI to an IDataset to get its sourceIMxDocument pMxdoc = m_application.Document; IMap pMap = pMxdoc.FocusMap; IStandaloneTableCollection pStandAloneTableCollection = pMap; IStandaloneTable pStandalonetable = null; for (int i = 0; i <= pStandAloneTableCollection.StandaloneTableCount - 1; i++) { pStandalonetable = pStandAloneTableCollection.StandaloneTable(i); IDataset pDataset = (IDataset)pStandaloneTable; Messagebox.show(pStandalonetable.Name & ": " & pDataset.Category); }