Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a dorpdownlist to the gridview
Message
De
16/11/2007 08:30:03
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Adding a dorpdownlist to the gridview
Versions des environnements
OS:
Windows XP SP2
Divers
Thread ID:
01269380
Message ID:
01269380
Vues:
71
HI,
I have two questions on this topic.
1-) In the MM.NET developer's Guide, under Creating Web Application, Working with mmGridView, Adding a DropDownList to a GridView, Step 2: Specifying the EditItemTemplate for the Template Column, The instruction 6 is requesting to select the SelectedIndex in the bindable properties of the DataBindings dialog, while the picture of the DataBindings dialog is showing the SelectedValue. Which of the two is the correct one, is it SelectedIndex or SelectedValue?

2-)Is it possible to bind that Dropdownlist in the gridview to another businessobject?
For example: I have a gridview with DTable businessobject as its BindingSource and the gridview has column named IdRegion. Instead of typping the IdRegion I would like to fill the dropdownlist with the RegionEntity and select the IdRegion from the dropdownlist. Or the dropdownlist can only be bound to the gridview's Bindingsource?
Répondre
Fil
Voir

Click here to load this message in the networking platform