﻿<?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?)  » Binding a control to a Business object NOT on the form</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 16:19:18 GMT</lastBuildDate><ttl>20</ttl><item><title>Binding a control to a Business object NOT on the form</title><link>http://forum.strataframe.net/FindPost2133.aspx</link><description>Is there a way to get winforms controls to bind to a business object that is NOT on the form?&lt;/P&gt;&lt;P&gt;I have a class that has several BO's as properties and the class manages loading the BO's with the requested data and provides functionality to maintain the required table relations.&amp;nbsp; Is there a better way of doing this?&amp;nbsp; Maybe a view based on the underlying tables?&amp;nbsp; If this is the best option, would we&amp;nbsp;need to used the DDT to set a primary key field so that the business object can update the view?&lt;/P&gt;&lt;P&gt;Thanks for any input.</description><pubDate>Wed, 09 Aug 2006 12:51:52 GMT</pubDate><dc:creator>Scott</dc:creator></item><item><title>RE: Binding a control to a Business object NOT on the form</title><link>http://forum.strataframe.net/FindPost2140.aspx</link><description>No problem :)</description><pubDate>Wed, 09 Aug 2006 12:51:52 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Binding a control to a Business object NOT on the form</title><link>http://forum.strataframe.net/FindPost2139.aspx</link><description>Thanks Ben,&amp;nbsp; works great.</description><pubDate>Wed, 09 Aug 2006 11:48:43 GMT</pubDate><dc:creator>Scott</dc:creator></item><item><title>RE: Binding a control to a Business object NOT on the form</title><link>http://forum.strataframe.net/FindPost2136.aspx</link><description>You can programmatically set the business object that is bound to a control at runtime.&amp;nbsp; So, if you expose the business object as a public property on your class, you will be able to bind to it at runtime by setting the BusinessObject property on the control to the property returned by your class.&amp;nbsp; The only difference between binding at runtime and binding at design-time is that you will need to manually call Refresh() on the business object after you setup the binding so that the value is pushed out the first time.&lt;/P&gt;&lt;P&gt;I think the way you have it configured is probably your best bet.</description><pubDate>Wed, 09 Aug 2006 08:37:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>