﻿<?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 / WebForms (How do I?)  / Steps to Setting up a BO in a WebForm / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Mon, 13 Oct 2008 08:22:04 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Steps to Setting up a BO in a WebForm</title><link>http://forum.strataframe.net/Topic16227-8-1.aspx</link><description>Glad you got it going. ;)</description><pubDate>Thu, 08 May 2008 10:59:17 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Steps to Setting up a BO in a WebForm</title><link>http://forum.strataframe.net/Topic16227-8-1.aspx</link><description>That's the step I was missing - thanks! :D&lt;/P&gt;&lt;P&gt;I'm sure I'll be back here soon with another question...</description><pubDate>Thu, 08 May 2008 10:44:27 GMT</pubDate><dc:creator>Howard Bennett</dc:creator></item><item><title>RE: Steps to Setting up a BO in a WebForm</title><link>http://forum.strataframe.net/Topic16227-8-1.aspx</link><description>Hi Howard.&lt;/P&gt;&lt;P&gt;Have you added a reference to your CommomBusiness project into the PTPlus project references?&lt;/P&gt;&lt;P&gt;Great to see we will meet at the class in July. :cool:</description><pubDate>Thu, 08 May 2008 10:40:35 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Steps to Setting up a BO in a WebForm</title><link>http://forum.strataframe.net/Topic16227-8-1.aspx</link><description>No problem being "late."  Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Here's the problem...and don't forget...this is my first "real" application using SF.&lt;/P&gt;&lt;P&gt;I've got the ReferralBO in a project called "CommonBusiness" within this solution.  I've added this: to the ApplicationBasePage.cs:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; MicroFour.StrataFrame.Tools;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; System.Web.Configuration;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; CommonBusiness;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;When building, I get this error:&lt;/P&gt;&lt;P&gt;The type or namespace name 'CommonBusiness' could not be found...&lt;/P&gt;&lt;P&gt;I've attached screenshots so you can see more of how I've got things setup.&lt;/P&gt;&lt;P&gt;Thanks - again - for trying to help!&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/89dbb97f-2676-4440-84ad-751e.png"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG height=196 src="http://forum.strataframe.net/Uploads/Images/5df716b2-b9a3-43ac-a72f-f9a0.png" width=450&gt;</description><pubDate>Thu, 08 May 2008 09:53:53 GMT</pubDate><dc:creator>Howard Bennett</dc:creator></item><item><title>RE: Steps to Setting up a BO in a WebForm</title><link>http://forum.strataframe.net/Topic16227-8-1.aspx</link><description>Howard,&lt;/P&gt;&lt;P&gt;Sorry about the slow response on this...I missed this post :blush:&lt;/P&gt;&lt;P&gt;You will define the BO in the ApplicationBasepage, and then your web form inherits from an ApplicationBasePage.  You can have as many ApplicationBasePages as you need, but any page that inherits from a base page will see those business objects.&lt;/P&gt;&lt;P&gt;If you will open up the web application sample you will see how these get defined in the ApplicationBasePage of that sample.  It should get you going in the right direction.</description><pubDate>Wed, 07 May 2008 21:06:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Steps to Setting up a BO in a WebForm</title><link>http://forum.strataframe.net/Topic16227-8-1.aspx</link><description>Okay...I've searched existing messages and tried to figure this out on my own...with no luck!&lt;/P&gt;&lt;P&gt;What I'd like to know is how to add a SF BO to a webform.&lt;/P&gt;&lt;P&gt;What I think I understand is that I need to create a BO in another project and reference that in my webform project.  I can create the BO - but - don't understand what to do next.  How do I reference that and then how to I add that to the webform so that I can bind textboxes to it?&lt;/P&gt;&lt;P&gt;Can someone help me understand this a bit better?&lt;BR&gt;&lt;BR&gt;Thanks - HB&lt;/P&gt;&lt;P&gt;P.S. Looking forward to seeing some of you in Amarillo in July!</description><pubDate>Wed, 07 May 2008 14:09:03 GMT</pubDate><dc:creator>Howard Bennett</dc:creator></item></channel></rss>