﻿<?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?)  » sBeginner ? Fill BO with view</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 10 Jun 2026 22:40:39 GMT</lastBuildDate><ttl>20</ttl><item><title>sBeginner ? Fill BO with view</title><link>http://forum.strataframe.net/FindPost4617.aspx</link><description>How can I fill the BO with view data?</description><pubDate>Fri, 17 Nov 2006 15:01:01 GMT</pubDate><dc:creator>Jon Olson</dc:creator></item><item><title>RE: sBeginner ? Fill BO with view</title><link>http://forum.strataframe.net/FindPost4619.aspx</link><description>Me.FillDataTable("SELECT * FROM [viewname]")&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;this.FillDataTable("SELECT * FROM [viewname]");&lt;/P&gt;&lt;P&gt;A business object's internal DataTable is not typed, so you can pull data from any number of columns into the business object.&amp;nbsp; So, you can take any bo, whether it has been mapped to the view or not and retrieve data into the bo.&amp;nbsp; However, if you try to save, that might cause you some problems ;)&lt;/P&gt;&lt;P&gt;If you ever want to retrieve a column value that does not have a corresponding strong-typed property on the BO, you can access the column through this:&lt;/P&gt;&lt;P&gt;bo.Item("fieldname")&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;bo.Item["fieldname"] //-- C#</description><pubDate>Fri, 17 Nov 2006 15:01:01 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>