<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: loading table into toc in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/loading-table-into-toc/m-p/585887#M15855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You've opened the table and created a new standalone table so all that's left is to add it to the map.&amp;nbsp; To do that, get a reference to the map (IMap) and QI over to IStandaloneTableCollection.&amp;nbsp; Call AddStandAloneTable and pass in your standalone table.&amp;nbsp; Also, having the table in the map's table collection isn't necessary in order to perform a table join so if that's the only reason you're adding it then you may want to skip it altogether.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Nov 2010 17:30:18 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2010-11-16T17:30:18Z</dc:date>
    <item>
      <title>loading table into toc</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/loading-table-into-toc/m-p/585886#M15854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not having luck finding code snippets to do this in C#.&amp;nbsp;&amp;nbsp; I have gotten this far...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
// open text file as a table
IFeatureWorkspace featureWorkspace = (IFeatureWorkspace)workspace;
ITable table featureWorkspace.OpenTable("potshots.txt");

IStandaloneTable pStTab = new StandaloneTable();
pStTab.Table = table;


&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get stuck here.&amp;nbsp; Yes, I am converting VBA code and maybe I am going about this all wrong.&amp;nbsp; Any pointers would be greatly appreciated.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ultimately I want to join this table to a shapefile I have loaded in the project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 16:41:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/loading-table-into-toc/m-p/585886#M15854</guid>
      <dc:creator>EugeneDerner</dc:creator>
      <dc:date>2010-11-16T16:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: loading table into toc</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/loading-table-into-toc/m-p/585887#M15855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You've opened the table and created a new standalone table so all that's left is to add it to the map.&amp;nbsp; To do that, get a reference to the map (IMap) and QI over to IStandaloneTableCollection.&amp;nbsp; Call AddStandAloneTable and pass in your standalone table.&amp;nbsp; Also, having the table in the map's table collection isn't necessary in order to perform a table join so if that's the only reason you're adding it then you may want to skip it altogether.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 17:30:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/loading-table-into-toc/m-p/585887#M15855</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-11-16T17:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: loading table into toc</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/loading-table-into-toc/m-p/585888#M15856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Also, having the table in the map's table collection isn't necessary in order to perform a table join so if that's the only reason you're adding it then you may want to skip it altogether.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;good point...thanks...i will skip it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 19:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/loading-table-into-toc/m-p/585888#M15856</guid>
      <dc:creator>EugeneDerner</dc:creator>
      <dc:date>2010-11-16T19:27:02Z</dc:date>
    </item>
  </channel>
</rss>

