Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: checkbox VB.NET DataGridView , +
I want to get the value from a DataGridViewCheckBoxCell
i have tried various codes
DataGridView1.Item(1, i).Value = False Then
DataGridView1.rows(i).cells(1).Value = False Then
also using
When i got into debug, when i move the mouse cursor over the .value, it returns "Nothing"
it is necessary to get the proper boolean value which it wont return... do i have to change any settings of the checkboxcell at designtime?
Posted 20-Mar-13 2:43am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It depends on weather your checkbox is in a checkboxfield or a template field. This page has more info.
Shraa1 at 20-Mar-13 10:26am
i did not get much help from the forum... i tried on msdn directly... found a good search result there... just changed the event and it did the trick...
Shraa1 at 20-Mar-13 10:26am
Thanx anyway :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,466
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,897

Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100