Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save data from a webform
Message
De
11/12/2008 18:53:54
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
11/12/2008 17:16:32
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Oracle
Application:
Web
Divers
Thread ID:
01365474
Message ID:
01366779
Vues:
12
>You can try passing parameters to the sproc that returns an empty dataset. For instance with a sproc that uses a single parameter, try passing the value '-1' to the sproc.
>
>Also try calling the newentity method of the business object (e.g. entity.NewEntity()).
>
>For editing I would try calling a custom method on the business object that returns the record that you want to edit. If you bind to the form, any changes made to the controls on the form should update the business entity properties. Just call the save method of the form or the SaveEntity method of the business object to save the data to the database.

Keep in mind that this.Save() in the form is not completely equivalent to oBizObj.SaveEntity(). The form save has additional mojo, but both will save the record.
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform