Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have bound the checkboxlist control with a datasource. tried fetching the selected item's text using object.selectedItem.Text. it throws error. please help. thanx in advance.
Posted
Comments
jim lahey 9-May-11 10:08am    
What kind of error? Please enlighten us..
thatraja 9-May-11 10:21am    
Include the error message in your question.

1 solution

hello there
this is a list and you have to fetch all the Items from the list then check if any item is selected. Please Navigate To The Following URL To Know More :
http://msdn.microsoft.com/en-us/library/a5kfekd2(v=VS.80).aspx[^]
Or
http://programming.top54u.com/post/Getting-Values-of-ASP-Net-CheckBoxList-Selected-Items.aspx[^]
This May Be Helpful if not let Us Know.
Best Regards.
 
Share this answer
 
v2

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