I want set the checked state of a checkbox by code. This is my code:
Code: Select all
CheckBox6.Checked = !string.IsNullOrEmpty(Insurant.MedizinischeErstbeurteilung.AktenFreetext);
How can I do this?
Ralf
Code: Select all
CheckBox6.Checked = !string.IsNullOrEmpty(Insurant.MedizinischeErstbeurteilung.AktenFreetext);
Code: Select all
CheckBox6.Checked == !string.IsNullOrEmpty(Insurant.MedizinischeErstbeurteilung.AktenFreetext);