Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
data binding for foreign key values
Message
 
À
21/03/2006 23:28:17
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01106119
Message ID:
01106859
Vues:
24
Mark,

>Thanks. I guess that's true for simply displaying the value. I should have been more specific and indicated that I am also wanting to populate a dropdownlist with a list of venues when in the gridview's edit mode, at which point I am assuming I would need a business object or some other object for the related table. Any suggestions along these lines?

I would handle the combo box differently and have another business object from which I could retrieve a list of items to fill the combo box. If it make sense in your object model, you can alternately create an additional data table in an existing DataSet to which you can bind your combo box. For details, see the MM .NET Dev Guide topic "Working with Multiple DataTables in a DataSet".

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