when I tried to save the value that I have in the checkboxlist, it does, but if don't selected, can't show 0, besides if I change the value "problemas = 9" to problemas = 111111" doesn't works, I've tried a lot of options but nothing works to me, please help, thanks in advance.
Expand|Select|Wrap|Line Numbers
- protected void ckblProblemas_SelectedIndexChanged(object sender, EventArgs e)
- {
- int problemas = 0;
- {
- if (ckblProblemas.SelectedValue.Equals("9"))
- {
- problemas = 9;
- }
- else
- {
- problemas.Equals("0");
- }