﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Returning DB Value Best Practice</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 03:12:18 GMT</lastBuildDate><ttl>20</ttl><item><title>Returning DB Value Best Practice</title><link>http://forum.strataframe.net/FindPost12741.aspx</link><description>What is the best way to&amp;nbsp;get a value from a SQL database table in a business object and return it to my web form?</description><pubDate>Mon, 19 Nov 2007 10:07:24 GMT</pubDate><dc:creator>Jerry Carter</dc:creator></item><item><title>RE: Returning DB Value Best Practice</title><link>http://forum.strataframe.net/FindPost12777.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()&amp;nbsp;call within the business object)&amp;nbsp;to retrieve the value.&amp;nbsp; The value would then be available through the same-named property on the business object.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Hopefully that's what you're looking for.&amp;nbsp; 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>StrataFrame Team</dc:creator></item></channel></rss>