General information
Category:
The Mere Mortals .NET Framework
Title:
Custom Data Access Class - Datagrid (Delete Command)
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only