Click here to Skip to main content
14,664,409 members
Rate this:
Please Sign up or sign in to 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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100