Set a Checkbox value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to query a database on startup of a web for and set the vale of a
CheckBox control on startup. I query the database successfully and then try
to set a checkbox,"c" to true.

c.Checked= true;

Once the webform is rendered the above line has no effect. It's still
unchecked. How do I set the checkbox?

Thanks in advance.
 
Back
Top