Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Saving data using stored procedures
The examples in the Developer’s guide does a good job illustrating the basic concepts. However, using stored procedures with MM is not completely clear. I created a custom data adapter as described in the guide, which I also used to generate the stored procedures. Retrieving data works fine, the problem comes in saving the data. I get an error stating that the ‘Original’ parameters are not being passed to the SP. Currently I’m just letting the forms save event raise the business objects save event which uses the custom adapter. Should I be calling the business objects SaveDataSet method directly from the UI passing it the required parameters?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement