How to Add a Check Box Column to a DataGridView

Written by jaime avelar
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Add a Check Box Column to a DataGridView
Add a check box column to Grid in C#. (OK-check image by Brett Bouwer from Fotolia.com)

Knowing how to add a check box control inside a Data Grid View control can make your application more dynamic by giving the user more options. Microsoft Visual C# can be used to accomplish the task of creating a Data Grid View control with a check box control in one of the columns. C# is an object-oriented computer programming language that's commonly used to create Windows applications. A Data Grid View control is commonly used to display data from a database table, since it displays data in a tabular format.

Skill level:
Easy

Other People Are Reading

Things you need

  • Microsoft Visual C# Express

Show MoreHide

Instructions

  1. 1

    Open Microsoft Visual C# Express, click "New Project..." on the left pane of your screen then select "Windows Forms Application." Click "OK."

  2. 2

    Click "DataGridViewCheckBoxColumn" next to "Type:" then select "Add" to add the first column to include check boxes. Click "Close."

  3. 3

    Click "DataGridViewCheckBoxColumn" next to "Type:" then select "Add" to add the first column to include check boxes. Click "Close."

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.