gderner

loading table into toc

Discussion created by gderner on Nov 16, 2010
Latest reply on Nov 16, 2010 by gderner
Folks,

I am not having luck finding code snippets to do this in C#.   I have gotten this far...

// open text file as a table
IFeatureWorkspace featureWorkspace = (IFeatureWorkspace)workspace;
ITable table featureWorkspace.OpenTable("potshots.txt");

IStandaloneTable pStTab = new StandaloneTable();
pStTab.Table = table;




I get stuck here.  Yes, I am converting VBA code and maybe I am going about this all wrong.  Any pointers would be greatly appreciated.  Thanks!

Ultimately I want to join this table to a shapefile I have loaded in the project.

Outcomes