[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1613
  • Last Modified:

How to check value of Checkbox column property in DataGridView ?

Hi,
 
I have a DataGridView in my VB.Net 2005 project Form.  I do not set my DataSource for my DataGridView in Design mode but rather fill with a sql statement and set DataSource property in code.

What I did do in the Design View is to choose DataGridView Tasks and added a DataGridViewCheckBoxColumn.  This column appears in my DataGridView as the first column and I'm able to use the checkbox control but I can't figure out how to check this property for each row in my DataGridView ??

Thanks,
JMO9966
0
JMO9966
Asked:
JMO9966
  • 2
  • 2
1 Solution
 
JMO9966Author Commented:
I'm having trouble access the DataGridView Row and column indexes to check for my checkbox being check or not.

Any thoughts would be appreciated.

Thanks,
JMO9966
0
 
planoczCommented:
I have a Listfview code that does checkboxes that might work better for your needs.
0
 
JMO9966Author Commented:
Thanks do you have a sample of the code?

JMO9966
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now