Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Custom Data Access Class - Datagrid (Delete Command)
Versions des environnements
Question:
After I create a busniess object with a custom data class (subclass of MM .NET data access class) bound it to a mmDataGrid and also bound the business object to a mmDeleteButton.
Clicking the mmDeleteButton works fine through my custom data class which calls a delete stored procedure that accepts a parameter pk from the table (Business Object) in mmDatagrid.
The delete stored procedure has been changed to accept 2 parameters (pk and user pk [for tracking audit history]).
Is there a way to somehow pass a application level variable (user key) along with the pk from the table (Business Object) in mmDatagrid when the user clicks the mmDeleteButton? or must a field be added to the dataset that holds user key for that business object?
Russ Gonring
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