Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Example of adding records with web business object
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01087452
Message ID:
01087814
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform