Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding mmBindingList to Drop Down List
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01228832
Message ID:
01229193
Vues:
20
>How does one bind a Web Form Drop down list to a mmBindingList returned from GetAllEntities?

If you just follow the instructions in the MM .NET Dev Guide under the topic Data Binding Mere Mortals Web Forms Controls | Data Binding Web Forms List Controls you can bind to the underlying data source and it will work just fine. If you want to bind directly to the strongly typed list you can use standard VS 2005 binding to an object data source. For an example of this, check out this link:

ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vwdgenref/html/fa51daa1-106e-4827-aa5f-7f60dbbc8ce8.htm

The MM .NET Dev Guide also talks about binding a GridView to an ObjectDataSource in the topic "How to Add Paging to a GridView".

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