Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding new entities in webforms
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Adding new entities in webforms
Versions des environnements
Environment:
ASP.NET
OS:
Vista
Divers
Thread ID:
01238523
Message ID:
01238523
Vues:
48
I am working through the jumpstarts for web forms and building on them with my own code.

The jump start is using a mix of Entity and DataSet methods, just wondering if there are specific reasons?
I am trying to use only the Entity methods and hitting an issue with adding.

I have a webform, with a button, in the codebehind for the button click I want to add a new records for editing.
I don't seem to be able to call NewEntity() on the business object without getting an "Object reference is not set to an instance of an object" error.

I should probably note that the display and navigation in the form(using Entities) all works perfectly.

I can't find any guidance in the help on this.
- Craig

"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform