Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding web Control to an Entity ?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01176690
Message ID:
01176750
Vues:
7
Stephen,

>I used teh Business layer generator. I have a Webpage with a datagrid that will supply the key.
>
>CustomerEntity oCE = this.oCustomers.GetCustomerByID(key);
>
>My data is visible in the watch window in oCE.
>
>How do I now add data binding to those text boxes above the datagrid for edit of my Customer or add a new one on the fly? I was looking for data binding and the ability to see if anything has changed in a save() type of function.

Even though you're using an entity object you can still bind the user interface controls to the business object just as you used to by means of the BindingSource and other MM .NET binding properties.

Best 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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform