<?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 How to Save Source load value to DatagrideView? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-save-source-load-value-to-datagrideview/m-p/21832#M548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; "&gt;How to Save Source load value to DatagrideView?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; "&gt;try &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;IFeatureLayer featureLayar = (IFeatureLayer) this.m_layer; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;// IDataset dataSet; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var featureClass = featureLayar.FeatureClass; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;IDataset dataSet = (IDataset) featureClass; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;foreach (DataGridViewRow row in this.dgvDataSource.Rows) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var propName = row.Cells ["ColName"]. Value.ToString (); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;if (! Row.Cells ["Value"]. ReadOnly) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var modPropVal = row.Cells ["Value"]. Value.ToString (); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var orgPropVal = this. m_propertySet.GetProperty (propName); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;if (modPropVal! = orgPropVal) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;this.m_propertySet.SetProperty (propName, modPropVal); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;catch (Exception ex) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;MessageBox.Show (ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2020 08:37:56 GMT</pubDate>
    <dc:creator>GobindaMahato</dc:creator>
    <dc:date>2020-02-06T08:37:56Z</dc:date>
    <item>
      <title>How to Save Source load value to DatagrideView?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-save-source-load-value-to-datagrideview/m-p/21832#M548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; "&gt;How to Save Source load value to DatagrideView?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; "&gt;try &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;IFeatureLayer featureLayar = (IFeatureLayer) this.m_layer; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;// IDataset dataSet; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var featureClass = featureLayar.FeatureClass; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;IDataset dataSet = (IDataset) featureClass; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;foreach (DataGridViewRow row in this.dgvDataSource.Rows) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var propName = row.Cells ["ColName"]. Value.ToString (); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;if (! Row.Cells ["Value"]. ReadOnly) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var modPropVal = row.Cells ["Value"]. Value.ToString (); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;var orgPropVal = this. m_propertySet.GetProperty (propName); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;if (modPropVal! = orgPropVal) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;this.m_propertySet.SetProperty (propName, modPropVal); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;catch (Exception ex) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;MessageBox.Show (ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 08:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-save-source-load-value-to-datagrideview/m-p/21832#M548</guid>
      <dc:creator>GobindaMahato</dc:creator>
      <dc:date>2020-02-06T08:37:56Z</dc:date>
    </item>
  </channel>
</rss>

