Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save data from a webform
Message
De
11/12/2008 17:16:32
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
 
 
À
04/12/2008 08:05:28
Deepesh Ms
Alif Technologies India Pvt Ltd
Inde
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:
01366772
Vues:
10
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform