mardi 22 décembre 2015

C# set CheckState of CheckBox but not working

I'm developing a form program with C#, the code like this:

((CheckBox)page.Controls[check_box_name]).CheckState = CheckState.Checked;

But this doesn't working, then I tried to refresh the page too:

page.Refresh();

this doesn't working too, I don't know why, please help me! thank you!




Aucun commentaire:

Enregistrer un commentaire