none
How to add Radiobutton To Datagridview(Vb.net Windows Application)

    Question

  • How to add radio button control in Datagridview control  (am using vb.net windows application) ???.....

    any known pls... tell me

    Monday, April 16, 2007 8:43 AM

Answers

  • Hi,Jeyaseelan

     

      There is a sample Radio Button column on the windows forms website. 

      For the DataGridViewRadioButtonCell type, three classes were created :

    • DataGridViewRadioButtonCell, in DataGridViewRadioButtonCell.cs, defines the custom cell type.
    • DataGridViewRadioButtonCellLayout, in DataGridViewRadioButtonCellLayout, is a small class used by the cell to store layout information.
    • DataGridViewRadioButtonColumn, in DataGridViewRadioButtonColumn, defines the custom column type.

    For more information,there is an article about this.

     

    Hope it helps.

     

    Tuesday, April 17, 2007 2:50 AM

All replies

  • Hi,

     

    Could you explain what your use-case is ?

     

    Do you want to provide radio buttons in one of the column to allow the user to chose between a set of values ?

     

    Please xplain your goal.

     

    Luc

    Monday, April 16, 2007 11:29 AM
  • Hi,Jeyaseelan

     

      There is a sample Radio Button column on the windows forms website. 

      For the DataGridViewRadioButtonCell type, three classes were created :

    • DataGridViewRadioButtonCell, in DataGridViewRadioButtonCell.cs, defines the custom cell type.
    • DataGridViewRadioButtonCellLayout, in DataGridViewRadioButtonCellLayout, is a small class used by the cell to store layout information.
    • DataGridViewRadioButtonColumn, in DataGridViewRadioButtonColumn, defines the custom column type.

    For more information,there is an article about this.

     

    Hope it helps.

     

    Tuesday, April 17, 2007 2:50 AM