Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Data Access Class - Datagrid (Delete Command)
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01043059
Message ID:
01044497
Views:
8
Russ,

>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?

There is no default MM .NET form-level method that allows you to pass this information, but you could create your own form-level method that does the job. You can create your own form-level Delete method that gets the user pk from the application-level variable and passes it to a custom Delete method on your business object.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform