Author: RDowdall | Posted on: 6/10/2008 6:06:12 AM | Views : 1158

Hello - I have a checkboxlist control in my project. It is bound to a dataset with a  datavaluefield (contactID) and a datatextfield (ContactName), I am able to get the ContactName from the checked box but I am unable to get the selected value (ContactID). Is the checkboxlist able to return a selected value?

cblContact.SelectedItem.Text   returns "ContactName"

cblContact.SelectedItem.value  returns "ContactName" instead of ContactID

 Thank-You
...

Go to the complete details ...