kwh3856
asked on
Cannot implicitly convert type bool to System.Web.UI.Webcontrols.CheckBox
I am reading data from a table in a database. The data is a type bool. When I read the data and then try to display that data on the screen to the user I get this error message. I oringially used a checkbox to save the data and I am trying to read the data back into the checkbox to show if it was check or not. Can someone point out what I am doing wrong?
Here is the exact error.
Cannot implicitly convert type 'bool?' to 'System.Web.UI.WebControls .CheckBox'
here is my code:
Here is the exact error.
Cannot implicitly convert type 'bool?' to 'System.Web.UI.WebControls
here is my code:
cbCT = myProviderReferralQueue.CT;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER