开发者

how to add radioButton & CheckBox in DataGridView? in C#.net

开发者 https://www.devze.com 2023-02-12 01:46 出处:网络
how to add radioButton & CheckBox in DataGridView? and开发者_StackOverflow中文版 only one checkBox should be selected at a time and how to add event onCheck or OnSelected event?add datagrid view -

how to add radioButton & CheckBox in DataGridView? and开发者_StackOverflow中文版 only one checkBox should be selected at a time and how to add event onCheck or OnSelected event?


add datagrid view -> go to properties

find property--> Columns (Collections)

Add Column -----> Name the column || Type: Select checkbox, button, image or link || Give column header name

To select single only: false the datagrid property "multiselect"

Click on event button in property to bind the Events.

0

精彩评论

暂无评论...
验证码 换一张
取 消