Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fill next listbox from first?
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00765889
Message ID:
00765964
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform