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:
00765995
Vues:
11
Thanks for lead in there. It didn't work but I keep plugging away at the control!

I know have these line:
Session["dsGetModels"] = dsGetModels;
MmDropDownList2.DataSource = dsGetModels;
MmDropDownList2.DataBind() ;

And I get :
System.Data.DataRowView in my display.

I'm banging away at it. thanks again.

__Stephen

>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
Répondre
Fil
Voir

Click here to load this message in the networking platform