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?
So, you should be able to access it with:
get{ return this["DBColumnName"];}
If you have a reference to a BO and you ever need to access the field, you can do the same thing:
BOType mybo = new BOType();string value = mybo["someStringField"];
Just put the brackets directly after the reference, whether "this" or some bo variable.
thanks for the info!