Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering the Business Object with web form
Message
De
03/07/2007 18:46:22
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
03/07/2007 18:03:25
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01237655
Message ID:
01237660
Vues:
16
Nevermind, I found it. I am not sure how but the partial class name of the web page code behind was named the same as the business object. How I don't know, but after renaming and changing the "Inherits" on the aspx page it took care of it.

Thanks
Tim


>Ok, I have done this a few times with no problem but now it complains. I looked at the 2.4 documentation and the sample application and there is no problem there so something must be amiss in my application. What can I look for?
>
>In my web form
>
>protected Contact oContact;
>
>In the load
>
>this.oContact = (Contact)this.RegisterPrimaryBizObj(new Contact());
>
>I get this build error:
>Cannot convert type OakLeaf.MM.Main.Business.mmBusinessObject to Contact
>
>I am using MM 2.4
>Thanks
>Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform