Click here to Skip to main content
15,889,878 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am binding check box list in datalist and displaying state and city with a check box.... after selecting one particular checkbox then it should display all friends which are under particular city.... ex: if i click on bangalore,karnataka then it should display all friends name within bangalore
Posted
Comments
Pablo Aliskevicius 23-Apr-12 9:36am    
Glad to hear.
Do you have a question?
Sandeep Mewara 23-Apr-12 11:03am    
Here is what is expected of enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.

use a CheckBoxList with AutoBostBack property set to true, and an UpdatePanel with UpdateMode property set to Conditional and containing the displaying panel.

1. Register the checkbox list as an asynchronous post-back control.
2. when the checkbox list makes a post-back use the SelectedValue Property to load the friend set and update the panel.
 
Share this answer
 
u hv fire query
select name from ur table where city=" &checkedboxlist1.text
it will select the one value of particulate record
 
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