Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding new entities in webforms
Message
From
08/07/2007 23:17:03
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Adding new entities in webforms
Environment versions
Environment:
ASP.NET
OS:
Vista
Miscellaneous
Thread ID:
01238523
Message ID:
01238523
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform