Click here to Skip to main content
15,920,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have one Dropdown list which i populated from Active Directory. and 2ndly I have checkbox list, where we have multiple selection.Is their Any way to bind multiple values of checkboxlist with single value of dropdownlist?

I want to save it in following format in datatable or any other option please let me know
Roles pages
teacher 1
teacher 2
student 1
All 1
Tejas Vaishnav 16-Feb-12 3:21am    
Question not clear..

provide more information for your problem...

create a table in the database that hold the dropdownlist value in column, the checkboxlistvalues in another column and you need an identifying column so you know who has chosen which settings.
Share this answer
Neha89 16-Feb-12 23:34pm    
if database is not in picture . can we do this by using datatable or hashtable. will it store values permnantly?
Please give some example so that i can understand
Use Two tables. Relate them by a Key.
Share this answer
Neha89 17-Feb-12 6:53am    
can you give me example how to do this?

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