Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting reference to BizObj
Message
From
23/07/2003 16:21:16
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00812851
Message ID:
00812927
Views:
9
John,

You need 2 things:

1. A form reference - Check out mmFormManager.GetParentForm(). (mmFormManager is in the Windows Forms project of the framework.) It takes a control as its parameter and determines which form the control is on. There are several methods in that object that get form references depending on your situation.

2. The name of the business object to which the control is bound. Each MM.Net control has just such a property for binding, usually called BindingSource. Use that in your call to the overload of the form's GetBizObject() that takes the string name of the business object.

Hope that helps,
---J


>How does a control on a form get a reference to the BizObj that created the dataset it's bound to?
Previous
Reply
Map
View

Click here to load this message in the networking platform