<?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: Filla combo with the fields of a table in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/filla-combo-with-the-fields-of-a-table/m-p/504667#M13557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a code fragment that will do that&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
'pFClass is your Feature class
'cboFields is the combo box

Dim pFields As ESRI.ArcGIS.Geodatabase.IFields2
Dim pfield As ESRI.ArcGIS.Geodatabase.IField

pFields = pFClass.Fields
For i As Integer = 0 To pFields.FieldCount - 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; pfield = pFields.Field(i)
&amp;nbsp;&amp;nbsp;&amp;nbsp; cboFields.Items.Add(pfield.Name)
Next (i)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:08:21 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2021-12-11T22:08:21Z</dc:date>
    <item>
      <title>Filla combo with the fields of a table</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/filla-combo-with-the-fields-of-a-table/m-p/504666#M13556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, maybe this is too simple for some, but I'm still new to programming things .... I want to fill a combo with the fields of a table of a Featureclase that is located in a geodatabase (and I have loaded into the TOC). I am working with Visual Net 2008 and ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 05:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/filla-combo-with-the-fields-of-a-table/m-p/504666#M13556</guid>
      <dc:creator>JoelFerreyra</dc:creator>
      <dc:date>2011-09-19T05:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filla combo with the fields of a table</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/filla-combo-with-the-fields-of-a-table/m-p/504667#M13557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a code fragment that will do that&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
'pFClass is your Feature class
'cboFields is the combo box

Dim pFields As ESRI.ArcGIS.Geodatabase.IFields2
Dim pfield As ESRI.ArcGIS.Geodatabase.IField

pFields = pFClass.Fields
For i As Integer = 0 To pFields.FieldCount - 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; pfield = pFields.Field(i)
&amp;nbsp;&amp;nbsp;&amp;nbsp; cboFields.Items.Add(pfield.Name)
Next (i)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:08:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/filla-combo-with-the-fields-of-a-table/m-p/504667#M13557</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T22:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filla combo with the fields of a table</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/filla-combo-with-the-fields-of-a-table/m-p/504668#M13558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I can not make it work&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 04:24:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/filla-combo-with-the-fields-of-a-table/m-p/504668#M13558</guid>
      <dc:creator>JoelFerreyra</dc:creator>
      <dc:date>2011-09-22T04:24:11Z</dc:date>
    </item>
  </channel>
</rss>

