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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top