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 OriginalGriff 410
1 Sergey Alexandrovich Kryukov 370
2 Maciej Los 285
3 ProgramFOX 275
4 CHill60 260
0 OriginalGriff 360
1 ProgramFOX 265
2 Maciej Los 235
3 CHill60 200
4 RyanDev 170

Advertise | Privacy | Mobile
Web01 | 2.8.150331.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2015
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