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