Click here to Skip to main content
15,742,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I Have problems with dropdownlist and checkbox control.

In my application I have one Dropdownlist1 which I fill manually with five items like this...

NationalSalesManager value=1
RegionalManager value=2
DepotManager value=3
AreaManager value=4
Supervisor value =5
salesman value=6

I want to populate one checkboxlist on the selected event of dropdownlist from the database- Dropdownlist1_SelectedIndexChanged.

When I select the NationalSalesManager then the record of National Sales Manager table display in checkBoxlist, when I select the RegionalManager from dropdownlist then the record of RegionalManager Table display in checkBoxList same as for others.

Please help me.
Updated 27-Oct-10 21:47pm
Sandeep Mewara 28-Oct-10 3:39am    
Not clear.
Dalek Dave 28-Oct-10 3:48am    
Edited for Grammar and Syntax.

1 solution

Clear the items of checkboxlist before rebinding 

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900