DataGridView and CheckBoxes

G

Guest

How do I access the value of a checkbox in a DataGridView? It's an unbound
column. Thanks.
 
S

Sam Malone

Try something like this:

If dgvYourDataGrid.Rows(<RowIndex>).Cells(<colName>).Value.ToString = "0"
then



Fill in appropriate values for the stuff inside the < >
 

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

Top