Click here to Skip to main content
15,922,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am having dropdowncheckbox list in creating new customer and then m binding all value to gridview but when i want to update that cutomer so i need to get the value that are selected previously sholud be selected during update

I am using select control for dropdown checkboxlist
Posted
Comments
SanthoshBabu Mahimairaj 16-Nov-15 2:19am    
Aviinash What you try so for?????
After update you want to should the selected rows again as selected?

try this
C#
dropdowncheckbox.SelecteItem.Value = 'your value from database'

or this
C#
dropdowncheckbox.SelectedValue= 'your value from database'
 
Share this answer
 
v4
i am getting all the value from db in list but how to bind those again to dropdowncehckbox
 
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