<?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 Format problem when developing custom task in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-problem-when-developing-custom-task/m-p/29940#M4083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The following codes is to use ADODB to get data with formats through OLE. You know ADODB has been upgraded to ADO.NET, can anyone give me sample codes like this using ADO.NET.&lt;/P&gt;&lt;P&gt;I try and find that System.Data.DataTable can't support the function like Recordset does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' obConnection is an open Connection object.&lt;/P&gt;&lt;P&gt;Dim obRecordset As New ADODB.Recordset &lt;/P&gt;&lt;P&gt;obRecordset.ActiveConnection = obConnection&lt;/P&gt;&lt;P&gt;obRecordset.Properties("SAS Formats") = "saledate=mmddyy8.,+price=dollar8.2."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Jan 2012 16:43:51 GMT</pubDate>
    <dc:creator>qkaiwei</dc:creator>
    <dc:date>2012-01-14T16:43:51Z</dc:date>
    <item>
      <title>Format problem when developing custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-problem-when-developing-custom-task/m-p/29940#M4083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The following codes is to use ADODB to get data with formats through OLE. You know ADODB has been upgraded to ADO.NET, can anyone give me sample codes like this using ADO.NET.&lt;/P&gt;&lt;P&gt;I try and find that System.Data.DataTable can't support the function like Recordset does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' obConnection is an open Connection object.&lt;/P&gt;&lt;P&gt;Dim obRecordset As New ADODB.Recordset &lt;/P&gt;&lt;P&gt;obRecordset.ActiveConnection = obConnection&lt;/P&gt;&lt;P&gt;obRecordset.Properties("SAS Formats") = "saledate=mmddyy8.,+price=dollar8.2."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jan 2012 16:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-problem-when-developing-custom-task/m-p/29940#M4083</guid>
      <dc:creator>qkaiwei</dc:creator>
      <dc:date>2012-01-14T16:43:51Z</dc:date>
    </item>
    <item>
      <title>Format problem when developing custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-problem-when-developing-custom-task/m-p/29941#M4084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unless you are taking advantage of some of the features of ADO.NET, you can continue to use ADODB by adding a reference to adodb.dll to your project.&amp;nbsp; There is a copy of adodb.dll in the Enterprise Guide application directory; if you are creating custom tasks, you should reference that one to ensure there are no version conflicts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, there is probably a way to get things working with ADO.NET...but I haven't investigated that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jan 2012 16:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-problem-when-developing-custom-task/m-p/29941#M4084</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2012-01-15T16:30:12Z</dc:date>
    </item>
  </channel>
</rss>

