Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Mappingname
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00906761
Message ID:
00906845
Views:
12
Simon,

>I have added a mmDataGrid control to a MM maintenance form as per the example in the help. I have selected successfully the business object to bind the control to.
>
>However when I try to use Style Collection Editor to select a MappingName all I see is "None" - I tried typing in the table name (respecting case as per previous threads here), but still nothing happens.

What you're seeing is correct in the current version of Visual Studio the builders take more of a "two-tier" approach and assume you are binding your UI controls directly to data (without a middle tier). Since you're not doing this with MM .NET (it's a bad practice) you don't see anything in the MappingName property. This will change in Whidbey (the next version of MM .NET) where one of the options for data binding is "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
Next
Reply
Map
View

Click here to load this message in the networking platform