<?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: Export comma delimited text file to dbf in VB dotnet in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/export-comma-delimited-text-file-to-dbf-in-vb/m-p/334423#M8734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is what i usually write .dbf file (corresponding to interface ITable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 create table in folder or geodatabase, refer to &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0049000000r4000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0049000000r4000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 write data into the table with ICursor, the operation is exactly the same as writing into featureclass if you are familiar with that operation except you do not need to write geometry for table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. the following code will insert rows (from your csv file) into table &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

Dim cur as ICursor = tbl.Insert(true)
Dim buff as IRowBuffer
' loop your csv rows data 
&amp;nbsp;&amp;nbsp;&amp;nbsp; buff = tbl.CreateRowBuffer()
&amp;nbsp;&amp;nbsp;&amp;nbsp; buff.Value(index) = ...
&amp;nbsp;&amp;nbsp;&amp;nbsp; cur.InsertRow(buff)

cur.Flush()

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 15:50:41 GMT</pubDate>
    <dc:creator>HailiangShen</dc:creator>
    <dc:date>2021-12-11T15:50:41Z</dc:date>
    <item>
      <title>Export comma delimited text file to dbf in VB dotnet</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/export-comma-delimited-text-file-to-dbf-in-vb/m-p/334422#M8733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can a comma delimited text file be exported to a dbf file using IExportOperation.ExportTable Method? If so could someone point me to some sample code for the export?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 23:06:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/export-comma-delimited-text-file-to-dbf-in-vb/m-p/334422#M8733</guid>
      <dc:creator>scottvalentine</dc:creator>
      <dc:date>2013-10-16T23:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export comma delimited text file to dbf in VB dotnet</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/export-comma-delimited-text-file-to-dbf-in-vb/m-p/334423#M8734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is what i usually write .dbf file (corresponding to interface ITable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 create table in folder or geodatabase, refer to &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0049000000r4000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0049000000r4000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 write data into the table with ICursor, the operation is exactly the same as writing into featureclass if you are familiar with that operation except you do not need to write geometry for table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. the following code will insert rows (from your csv file) into table &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

Dim cur as ICursor = tbl.Insert(true)
Dim buff as IRowBuffer
' loop your csv rows data 
&amp;nbsp;&amp;nbsp;&amp;nbsp; buff = tbl.CreateRowBuffer()
&amp;nbsp;&amp;nbsp;&amp;nbsp; buff.Value(index) = ...
&amp;nbsp;&amp;nbsp;&amp;nbsp; cur.InsertRow(buff)

cur.Flush()

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:50:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/export-comma-delimited-text-file-to-dbf-in-vb/m-p/334423#M8734</guid>
      <dc:creator>HailiangShen</dc:creator>
      <dc:date>2021-12-11T15:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export comma delimited text file to dbf in VB dotnet</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/export-comma-delimited-text-file-to-dbf-in-vb/m-p/334424#M8735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;An alternate approach is to call the existing &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001200000027000000"&gt;Table to Table conversion tool&lt;/A&gt;&lt;SPAN&gt; using the geo-processor. If you have never called existing tools before then have a look at this &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/Executing_tools/000100000392000000/"&gt;page&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:20:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/export-comma-delimited-text-file-to-dbf-in-vb/m-p/334424#M8735</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2013-10-22T15:20:04Z</dc:date>
    </item>
  </channel>
</rss>

