﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Why is it so?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 30 May 2026 06:35:30 GMT</lastBuildDate><ttl>20</ttl><item><title>Why is it so?</title><link>http://forum.strataframe.net/FindPost30665.aspx</link><description>Hi&lt;div&gt;Recently I face problem of newly queried table from SQL server is not "attached" to BO correctly. During the debugging, I found the below codes. May I know what is the reason of coding so?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Private Property _CurrentDataTable() As DataTable&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Get&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return Me._CurrentDataTable(&lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 0);"&gt;False&lt;/span&gt;)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Get&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set(ByVal value As DataTable)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Me._CurrentDataTable(&lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 0);"&gt;True&lt;/span&gt;) = value&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Set&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Property&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Why we have&amp;nbsp;Me._CurrentDataTable(&lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 0); "&gt;False&lt;/span&gt;) when return the datatable but&amp;nbsp;Me._CurrentDataTable(&lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 0); "&gt;True&lt;/span&gt;) when assign the dataTable?&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Please advice. Thank you</description><pubDate>Mon, 28 Nov 2011 21:35:35 GMT</pubDate><dc:creator>ChanKK</dc:creator></item></channel></rss>