CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    449

    Checkbox in my DataGridView

    I have a bit field in my database. And in my DataGridView I have that as one of my column but the checkbox is not getting displayed. Why?

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Checkbox in my DataGridView

    Did you set the particular Columns' ColumnType to DataGridViewCheckBoxColumn ¿

  3. #3
    Join Date
    Oct 2005
    Location
    Islamabad, Pakistan
    Posts
    1,277

    Re: Checkbox in my DataGridView

    setting the datasource of dgv to the datatable(also having a bit column) from database ,automatically add a checkboxcolumn to the dgv.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured