Found Table name for Propriety TextBox for BindingField


Author
Message
Rafael
Rafael
StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)
Group: Forum Members
Posts: 48, Visits: 216
I Need to know a table name for BindingField.

How i do it ?
Replies
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Rafael,



Any business object you'd use inherits from BusinessLayer, which has TableName, so:



' VB

Dim tableName As String = DirectCast(Me.txtABoundTextBox.BusinessObject,BusinessLayer).TableName



// C#

String tableName = ((BusinessLayer)txtABoundTextBox.BusinessObject).TableName

Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Greg, that's perfect!  Wow, nearly every day I am amazed at what lurks in this framework (like MicroFour.StrataFrame.Tools.Common.GetEnumDisplayValue(yourEnum), eh? BigGrin w00t )!!  Good stuff!

Bill

Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Well, I can not agreed with Bill more Smile  all the time I am re-designing my stuff with the new things posted in the forums.

As a matter of fact, the first project I stared 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 Tongue).

Edhy Rijo

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Bill Cunnien (08/20/2008)
...like MicroFour.StrataFrame.Tools.Common.GetEnumDisplayValue(yourEnum)...




Tongue



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 BigGrin
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Rafael - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Rafael - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Rafael - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Bill Cunnien - 17 Years Ago
Rafael - 17 Years Ago
Rafael - 17 Years Ago
Greg McGuffey - 17 Years Ago
Bill Cunnien - 17 Years Ago
                     Well, I can not agreed with Bill more :) all the time I am...
Edhy Rijo - 17 Years Ago
                     [quote][b]Bill Cunnien (08/20/2008)[/b][hr]...like...
Greg McGuffey - 17 Years Ago
Dustin Taylor - 17 Years Ago
Greg McGuffey - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search