cannot access this.Item in BO in c#


Author
Message
Rob Toyias
Rob Toyias
StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)
Group: Forum Members
Posts: 31, Visits: 179
I'm trying to create a Custom Field.  I've created the public field in the BO, it will be filled by a stored procedure that joins accross tables.  I saw this done (today actually, thanks Trent!) where the filled value was accessed in the getter using Item() like so

get
{
    return Me.Item("DBColumnName");
}

problem is I'm using c#, and I don't have Item...

I use { return this.Item("DBColumnName") }
(or even Item[]) but it's not there...

I have CurrentDataTable, CurrentView, CurrentRowIndex, and CurrentRow but no Item.
I compile I get the following error:
Error 1 'BusinessObjectLib.Customers' does not contain a definition for 'Item' 

I'm thinking that should be in there, what silly thing am I doing wrong?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search