<?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 Connect to SQL Server Database dynbamically in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/connect-to-sql-server-database-dynbamically/m-p/359573#M1775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing a Runtime application that enables user selected Access or SQL database to connect. According to the concepts page this is possible through datasource or querydatasource but only through the workspaceID from a ArcGISDynamicMapServiceLayer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to open Access database from a custom python script tool. Is this possible to do the same with SQL database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot use CreateDatabaseConnectoin tool because its not supported in ArcGIS Runtime. Another way is using 'pyodbc' library. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody else ideas or experience with this kind of workflow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2013 18:23:17 GMT</pubDate>
    <dc:creator>jp</dc:creator>
    <dc:date>2013-02-15T18:23:17Z</dc:date>
    <item>
      <title>Connect to SQL Server Database dynbamically</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/connect-to-sql-server-database-dynbamically/m-p/359573#M1775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing a Runtime application that enables user selected Access or SQL database to connect. According to the concepts page this is possible through datasource or querydatasource but only through the workspaceID from a ArcGISDynamicMapServiceLayer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to open Access database from a custom python script tool. Is this possible to do the same with SQL database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot use CreateDatabaseConnectoin tool because its not supported in ArcGIS Runtime. Another way is using 'pyodbc' library. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody else ideas or experience with this kind of workflow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 18:23:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/connect-to-sql-server-database-dynbamically/m-p/359573#M1775</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2013-02-15T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL Server Database dynbamically</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/connect-to-sql-server-database-dynbamically/m-p/359574#M1776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are these Access / SQL Server databases actually Geodatabases? Or would you like to join a non-spatial table from the database to a spatial dataset in another datasource? I'm assuming it's the latter... you could take a look at this earlier post which discusses using the JoinDataSource: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/74686-Joining-Database-with-Map-Layer?"&gt;http://forums.arcgis.com/threads/74686-Joining-Database-with-Map-Layer?&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/connect-to-sql-server-database-dynbamically/m-p/359574#M1776</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-02-22T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL Server Database dynbamically</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/connect-to-sql-server-database-dynbamically/m-p/359575#M1777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the posting you referred to but I found ArcGIS Runtime doesn't support workspacefactorytype of SQL Server database. So this might not work as desired. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can think of only looping through the data and editing the a default table everytime the application is connected to a new database. Since its not possible to connect to SQL server in ArcGIS Runtime. Actually I need to attach a mdf file to SQL Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Are these Access / SQL Server databases actually Geodatabases? Or would you like to join a non-spatial table from the database to a spatial dataset in another datasource? I'm assuming it's the latter... you could take a look at this earlier post which discusses using the JoinDataSource: &lt;A href="http://forums.arcgis.com/threads/74686-Joining-Database-with-Map-Layer?"&gt;http://forums.arcgis.com/threads/74686-Joining-Database-with-Map-Layer?&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 15:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/connect-to-sql-server-database-dynbamically/m-p/359575#M1777</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2013-02-25T15:36:43Z</dc:date>
    </item>
  </channel>
</rss>

