Click here to Skip to main content
15,609,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a form, in which i have to submit values present in the checkboxlist, later i need to edit those values for that i need to bind the previously checked values in the me to bind ...
Updated 26-Sep-12 20:57pm

Check this..
Share this answer
for your solutions your need to find the list item from check box list which value is same as your previous value and set its selected property to true or selected, then it will checked/unchecked that check box.

some thing like this...
chklist.items.findbytext('yourpreviousvalue').checked = true;

please refer this link it will demonstrate you how to check/unchecked check box list item based on your condition.

Check/Unchecked Check box list[^]
Share this answer
abhisheksa1 27-Sep-12 6:06am    
how can i get the values from database to the list
Tejas Vaishnav 27-Sep-12 8:37am    
you can get it by using store procedure or by writing select query and follow steps of database connectivity and get data from database as per your requirement.

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