<?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 Attributes with Double Data Type in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/attributes-with-double-data-type/m-p/307303#M895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&amp;nbsp; Does anyone know how I can get around the following problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the AttributeQuery sample to create a query add-in for a Silverlight viewer app and everything is working fine except for a problem I'm encountering with double data types (in Oracle SDE).&amp;nbsp; Depending on the query results, I get the following errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&amp;nbsp; All rows must be of type 'System.Int32' for the "BEG_INTERSECT_MP' attribute.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All rows must be of type 'System.Decimal' for the "BEG_INTERSECT_MP' attribute.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The BEG_INTERSECT_MP attribute values are a mixture of integer (e.g. 1) and double (e.g. 0.5) in both cases.&amp;nbsp; I'm sure the error I receive just depends on which value is in the first returned row.&amp;nbsp; But, I need to get this working so I don't get any errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mary Ellen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S.&amp;nbsp; I did find the following reference later today so it looks like I'm on the right track in the explanation of the problem.&amp;nbsp; I would still appreciate anyone's opinion on how to address this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/48685-How-to-use-MapApplication.ShowPopup?p=166911&amp;amp;viewfull=1#post166911"&gt;http://forums.arcgis.com/threads/48685-How-to-use-MapApplication.ShowPopup?p=166911&amp;amp;viewfull=1#post166911&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; (rzwaap, 1/26/2012)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2012 10:33:36 GMT</pubDate>
    <dc:creator>MaryEllen_Perko</dc:creator>
    <dc:date>2012-10-16T10:33:36Z</dc:date>
    <item>
      <title>Attributes with Double Data Type</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/attributes-with-double-data-type/m-p/307303#M895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&amp;nbsp; Does anyone know how I can get around the following problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the AttributeQuery sample to create a query add-in for a Silverlight viewer app and everything is working fine except for a problem I'm encountering with double data types (in Oracle SDE).&amp;nbsp; Depending on the query results, I get the following errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&amp;nbsp; All rows must be of type 'System.Int32' for the "BEG_INTERSECT_MP' attribute.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All rows must be of type 'System.Decimal' for the "BEG_INTERSECT_MP' attribute.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The BEG_INTERSECT_MP attribute values are a mixture of integer (e.g. 1) and double (e.g. 0.5) in both cases.&amp;nbsp; I'm sure the error I receive just depends on which value is in the first returned row.&amp;nbsp; But, I need to get this working so I don't get any errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mary Ellen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S.&amp;nbsp; I did find the following reference later today so it looks like I'm on the right track in the explanation of the problem.&amp;nbsp; I would still appreciate anyone's opinion on how to address this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/48685-How-to-use-MapApplication.ShowPopup?p=166911&amp;amp;viewfull=1#post166911"&gt;http://forums.arcgis.com/threads/48685-How-to-use-MapApplication.ShowPopup?p=166911&amp;amp;viewfull=1#post166911&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; (rzwaap, 1/26/2012)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 10:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/attributes-with-double-data-type/m-p/307303#M895</guid>
      <dc:creator>MaryEllen_Perko</dc:creator>
      <dc:date>2012-10-16T10:33:36Z</dc:date>
    </item>
  </channel>
</rss>

