﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / General .NET Discussion / .NET Forums  / Returning DB Value Best Practice / 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>Thu, 08 Jan 2009 07:55:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Returning DB Value Best Practice</title><link>http://forum.strataframe.net/Topic12741-14-1.aspx</link><description>Well, you would declare the business object as a field on the WebForm (or a local variable if that is all you need) and then create a Fill method (one that creates an SqlCommand object can pass it to a FillDataTable() call within the business object) to retrieve the value.  The value would then be available through the same-named property on the business object.  &lt;/P&gt;&lt;P&gt;Hopefully that's what you're looking for.  If not, then give me a few more details on what you're trying to accomplish.</description><pubDate>Mon, 19 Nov 2007 10:07:24 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>Returning DB Value Best Practice</title><link>http://forum.strataframe.net/Topic12741-14-1.aspx</link><description>What is the best way to get a value from a SQL database table in a business object and return it to my web form?</description><pubDate>Fri, 16 Nov 2007 15:57:23 GMT</pubDate><dc:creator>Jerry Carter</dc:creator></item></channel></rss>