﻿<?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?)  » Found Table name for Propriety TextBox for BindingField</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 01:39:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18560.aspx</link><description>I Need to know a table name for BindingField.&lt;br&gt;
How i do it ?</description><pubDate>Wed, 20 Aug 2008 12:21:17 GMT</pubDate><dc:creator>Rafael</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18632.aspx</link><description>[quote][b]Dustin Taylor (08/20/2008)[/b][hr]You guys do know about the StrataFrame.Tools.Common.KitchenSink(yourDishes) method, right? &lt;br&gt;
&lt;br&gt;
That one always seems to get overlooked...[/quote]&lt;br&gt;
&lt;br&gt;
DOH! And I just did the dishes by hand!  ;)</description><pubDate>Wed, 20 Aug 2008 12:21:17 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18631.aspx</link><description>[quote][b]Bill Cunnien (08/20/2008)[/b][hr]...like MicroFour.StrataFrame.Tools.Common.GetEnumDisplayValue(yourEnum)...[/quote]&lt;br&gt;
&lt;br&gt;
:P&lt;br&gt;
&lt;br&gt;
I seem to recall that when I coded that method, I remember looking at the code to populate a combo in SF source to figure out how to do it.  It appears that that code still doesn't use their own method (handles the attributes directly).  In any case, I got a bit of experience learning to handle attributes :D</description><pubDate>Wed, 20 Aug 2008 12:18:47 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18622.aspx</link><description>You guys do know about the StrataFrame.Tools.Common.KitchenSink(yourDishes) method, right? &lt;P&gt;That one always seems to get overlooked...</description><pubDate>Wed, 20 Aug 2008 09:07:14 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18613.aspx</link><description>Well, I can not agreed with Bill more :)&amp;nbsp; all the time I am re-designing my stuff with the new things posted in the forums.&lt;/P&gt;&lt;P&gt;As a matter of fact,&amp;nbsp;the first project I stared&amp;nbsp;with StrataFrame took me a couple of weeks to have it in a decent stage, after the training class I decided to start it over based on the StrataFlix logic and in a matter of days I have this project in a much better stage inside and outside (good looking :P).</description><pubDate>Wed, 20 Aug 2008 08:39:43 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18611.aspx</link><description>Greg, that's perfect!&amp;nbsp; Wow, nearly every day I am amazed at what lurks in this framework (like MicroFour.StrataFrame.Tools.Common.GetEnumDisplayValue(yourEnum), eh?&amp;nbsp;:D&amp;nbsp;:w00t: )!!&amp;nbsp; Good stuff!&lt;/P&gt;&lt;P&gt;Bill</description><pubDate>Wed, 20 Aug 2008 08:00:22 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18588.aspx</link><description>Rafael,&lt;br&gt;
&lt;br&gt;
Any business object you'd use inherits from BusinessLayer, which has TableName, so:&lt;br&gt;
&lt;br&gt;
[codesnippet]' VB&lt;br&gt;
Dim tableName As String = DirectCast(Me.txtABoundTextBox.BusinessObject,BusinessLayer).TableName&lt;br&gt;
&lt;br&gt;
// C#&lt;br&gt;
String tableName = ((BusinessLayer)txtABoundTextBox.BusinessObject).TableName[/codesnippet]</description><pubDate>Tue, 19 Aug 2008 13:01:41 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18582.aspx</link><description>[quote]&lt;br&gt;
private void for_cod_Leave(object sender, EventArgs e)&lt;br&gt;
{&lt;br&gt;
String mTableName = ((MyBO)txtABoundTextBox.BusinessObject).TableName;&lt;br&gt;
}&lt;br&gt;
[/quote]&lt;br&gt;
&lt;br&gt;
In variable MyBO( name of BO ), how i do for my code to be dinamic?</description><pubDate>Tue, 19 Aug 2008 10:57:13 GMT</pubDate><dc:creator>Rafael</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18579.aspx</link><description>preciso em tempo de programação pegar o conteudo da propriedade que msotra o nome da tabela referenciada ao bo atraves do bindingfield&lt;br&gt;
&lt;br&gt;
I need in time of programing to know content the property name of table by BO through in BindingField</description><pubDate>Tue, 19 Aug 2008 10:52:01 GMT</pubDate><dc:creator>Rafael</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18578.aspx</link><description>Rafael,&lt;/P&gt;&lt;P&gt;Would this do it?&amp;nbsp; Sorry for the C# if you are a VB guy...&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;FONT color=#2b91af size=2&gt;String&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; mTableName = ((&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;MyBO&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;)txtABoundTextBox.BusinessObject).TableName;&lt;/FONT&gt;&lt;/FONT&gt;[/codesnippet]&lt;BR&gt;&lt;BR&gt;Bill</description><pubDate>Tue, 19 Aug 2008 10:46:14 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18574.aspx</link><description>Rafael,&lt;P&gt;I don't understand where and what you are referring to.&amp;nbsp; Can you please give me steps, details, etc.&amp;nbsp; I really want to help but I am totally lost as to what you are trying to do...sorry :ermm:</description><pubDate>Tue, 19 Aug 2008 10:29:44 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18571.aspx</link><description>I need to know table name because i need to pass for my function in visual studio.&lt;br&gt;
In event Leave for textbox to strataframe, i need to know that a table used and pass for my function</description><pubDate>Tue, 19 Aug 2008 10:05:17 GMT</pubDate><dc:creator>Rafael</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18570.aspx</link><description>Rafael,&lt;/P&gt;&lt;P&gt;I really want to help you, but I am having a hard to understanding your question.&amp;nbsp; The table name would be whatever table to which you are mapping your business object (BO).&amp;nbsp; The database would be is not specified at the textbox level, but is part of your connection that is established in the AppMain.vb or program.cs files.&amp;nbsp; Each BO has a DataSourceKey which is then used to tie itself to the Database Connections setup in the SetDataSources method in your AppMain.vb or program.cs source files.&amp;nbsp; Again, I think that if you would take a look at some of the samples that many of these questions would be answered for you.</description><pubDate>Tue, 19 Aug 2008 09:53:23 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18566.aspx</link><description>Trent L. Taylor, i need to know what table name in Data Base use in Textbox.</description><pubDate>Tue, 19 Aug 2008 09:42:54 GMT</pubDate><dc:creator>Rafael</dc:creator></item><item><title>RE: Found Table name for Propriety TextBox for BindingField</title><link>http://forum.strataframe.net/FindPost18563.aspx</link><description>I really don't know what you are asking here.&amp;nbsp; If you are wanting to know how to use the SF data binding, there are many samples that come with the framework and there is a lot of documentation to this point as well.&amp;nbsp; Instead of me explaining all of this in a shortened format, please refer to the samples and the documentation.&lt;/P&gt;&lt;P&gt;But in short, you will need to drop a BO on the form, select the BO for the BusinessObject, once this is done, there will b e adrop down populated with the fields that can be bound to the control.&amp;nbsp; But before you can see any fields, you will have to map that BO within the BO Mapper.</description><pubDate>Tue, 19 Aug 2008 09:35:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>