Discussion:
Set DataGridView Checkbox to "Checked" as Default?
(too old to reply)
Patrick A
2010-05-12 20:17:15 UTC
Permalink
When a user adds a new record in a DataGridView on a form I have
created, the Checkbox is unchecked.

Is there a way to have it be checked by default?

I can't seem to find anything on this...

Thanks,

Patrick
Mr. Arnold
2010-05-12 21:12:08 UTC
Permalink
Post by Patrick A
When a user adds a new record in a DataGridView on a form I have
created, the Checkbox is unchecked.
Is there a way to have it be checked by default?
I can't seem to find anything on this...
You can tell when the record is added on the record add event, where you
can set the chkbox.value to 'true' -- checked I suspect.

Loading...