Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fill next listbox from first?
Message
From
14/03/2003 13:08:34
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00765889
Message ID:
00765955
Views:
24
Sorry, Stephen ... I'm not using MM.Net, so if it's something peculiar to that Framework, I guess I can't help.

~~Bonnie


>Thanks Bonnie.
>
>Im using MM.Net. It has business classes that do lots of the grunt work. In the past I'd dynamically creae the params to send back execute the reader, iterate through it and add them to the new list.
>
>I was wondering how you ADD them to the list using the MM framework?
>
>
>>Hi Stephen,
>>
>>From what you've posted, I'm still not clear on what you're doing and how you're populating the second DropDown ... so, it's hard to say what the problem is. More code?
>>
>>~~Bonnie
>>
>>
>>>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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform