Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. CheckBox column in DataGridView

CheckBox column in DataGridView

Scheduled Pinned Locked Moved Visual Basic
tutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ivo75
    wrote on last edited by
    #1

    I use DataGridView with column type CheckBox. How to verify whether CheckBoxs in this column is checked

    D 1 Reply Last reply
    0
    • I ivo75

      I use DataGridView with column type CheckBox. How to verify whether CheckBoxs in this column is checked

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Get the CheckBox cell and inspect its checked property. A bit more explanation of your problem would help.

      It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

      I 1 Reply Last reply
      0
      • D dan sh

        Get the CheckBox cell and inspect its checked property. A bit more explanation of your problem would help.

        It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

        I Offline
        I Offline
        ivo75
        wrote on last edited by
        #3

        How to inspect. Give me some example

        D 1 Reply Last reply
        0
        • I ivo75

          How to inspect. Give me some example

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          ivo75 wrote:

          How to inspect

          The checked property is a boolean. Put that in a if/else block and see if it is true or false. Not a VB guy hence cannot provide the code. Even if I was, I wouldn't have since I do not believe in spoon feeding at professional level (Hope you are a professional and not a student).

          It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

          D 1 Reply Last reply
          0
          • D dan sh

            ivo75 wrote:

            How to inspect

            The checked property is a boolean. Put that in a if/else block and see if it is true or false. Not a VB guy hence cannot provide the code. Even if I was, I wouldn't have since I do not believe in spoon feeding at professional level (Hope you are a professional and not a student).

            It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

            D Offline
            D Offline
            Dambod
            wrote on last edited by
            #5

            test whether the checked property is true to do whatever you want

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups