Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fill next listbox from first?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00765889
Message ID:
00765964
Vues:
17
Are you databinding the second listbox?

MmDropDownList2.DataSource = dsGetModels;


>I have a Makes drop down listbox and then a Models ddlb. I get my data visible in the first. I get the param to pass back for the second.
>
>private void MmDropDownList1_SelectedIndexChanged(object sender, System.EventArgs e)
>{
>//lcmakes char
>Models oModels = (Models)this.RegisterBizObj(new Models());
>// Get a DataSet containing all makes
>DataSet dsGetModels = oModels.GetModels(MmDropDownList1.SelectedItem.Value);
>// Persist the DataSet to the Session object
>//Session["dsGetModels"] = dsGetModels;
>}
>this is a copy of how the data loads for the page_load on the first ddlb, all makes are now model.
>
>Why won't data show in the second list?
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform