DataGridViewCheckBoxColumn

Hi,
I would like to know how to change the appearance of checkbox in DataGridViewCheckBoxColumn. With normal check box control, we can change the appearance to button or normal. How can I do that with in DataGridView


Answer this question

DataGridViewCheckBoxColumn

  • Satyendra Kumar

    Hi. Iam new to vb.net and I would like to know if datagrid and datagrid view is the same. If not, where can I download datagrid view Thanks.

  • dmbrubac

    Hi,

    If you want to do this at design time, it's pretty easy. Go to the Properties window of the DataGridView, select Columns then in the Bound Column Properties section, click the dropdown ColumnType property. It will show you the available options for DataGridViewCheckBoxColumn. You can choose button or any other styles available.

    Hope that helps.

    Regards,

    Mamta


  • Torpedoke

    Hi Mamta,
    Thanks for ur suggestion. I think u misunderstand my question. I already changed column type into DataGridViewCheckBoxColumn. My question is that I want to change the appearance of that checkbox into button-type checkbox. U may notice that feature is available in normal checkbox. I want to know how to change the appearance of checkbox in DataGridViewCheckBoxColumn.


     Mamta M wrote:

    Hi,

    If you want to do this at design time, it's pretty easy. Go to the Properties window of the DataGridView, select Columns then in the Bound Column Properties section, click the dropdown ColumnType property. It will show you the available options for DataGridViewCheckBoxColumn. You can choose button or any other styles available.

    Hope that helps.

    Regards,

    Mamta


  • Serge Allard

    Hi Xavier,
    Datagrid and DataGridView is not same. They are different in so many ways. Datagrid is old control used in .net 1.0 and 1.1. DataGridView(DGV) is new control introduced in 2.0. People are saying that DGV has more flexible ways and features to present data. I am also exploring that control. You can find most of references and problems in this forum.

  • DataGridViewCheckBoxColumn