Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Data Access Class - Datagrid (Delete Command)
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Custom Data Access Class - Datagrid (Delete Command)
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01043059
Message ID:
01043059
Views:
58
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
Map
View

Click here to load this message in the networking platform