Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Polymorphism and virtual methods
Message
From
29/10/2002 13:21:10
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00716411
Message ID:
00716539
Views:
16
David,

Butt in anytime! What you suggest works, but this opens up another can of worms. I use members and properties to access data fields in my business objects. If I had a way to get values from and save values to fields in the back end, I would not need to go through all this. At one point someone suggested I could use datasets to implement data access instead of the member/property scenario. What do you think?

TIA

Rex

>Forgive me for butting in, but the problem is that you need to cast the reference to the subclass type before you can use the methods and properties of the subclass.
>
>
>	With CType(BizObj,AudienceType)
>		.AudienceType = txtAudienceType.Text
>	End With
>
>
>(I am not sure that the cast will work with the WITH keyword, but the point is that you have to cast the reference to the subclass)
>
>>In the PopulateBizObjsFromPage method of my AudienceTypesForm class I get a message saying that AudienceType is not a member of ParentClass.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform