Craig,
>I am working through some of the examples in the jump starts for the ASP.NET 2 version of MM.
>
>There are really good examples of editing records etc. as well as adding items to a details grid (based on a dataset with multiple rows).
>
>How do I just add and edit a single record through a business object?
>
>i.e. Suppose I have a web page with a list of people with an edit link. The edit link takes you to an edit page allowing you to edit just the details for that one person. If I now have an Add button on the list page, what is the process for adding the new record and editing in the edit page?
>
>I can't see a clear example of this in the help.
You can put code in the handler of the New button that gets an empty dataset and adds a new row:
this.oOrder.GetEmptyDataSet();
this.oOrder.NewRow();
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com