Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Data Access Class - Datagrid (Delete Command)
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Custom Data Access Class - Datagrid (Delete Command)
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01043059
Message ID:
01043059
Vues:
57
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
Fil
Voir

Click here to load this message in the networking platform