在datagridview的标题单元格中添加复选框 [英] Adding checkbox in header cell of datagridview
本文介绍了在datagridview的标题单元格中添加复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个datagridview
标题
选择Lab Schema ...
下面选择列i已插入复选框
现在我想在选择旁边添加复选框(用于选择所有选项)
友好帮助
我尝试过的事情:
I have a datagridview
Header
select Lab Schema...
Below select column i have inserted checkboxes
Now i want to add check box next to select (for select all option)
kindly help
What I have tried:
chk.Name = "Select "
chk.DataPropertyName = "Select"
DataGridViewX1.Columns.Add(chk)
推荐答案
老实说,在2019年,开发人员需要的最重要的技能是能够输入谷歌的问题
在VB.NET中将CheckBox添加到DataGridView [ ^ ]
第一个google点击标题已打开这个网站!!
DataGridView的CheckBox标题栏 [ ^ ]
Honestly, in 2019, the most important skill a developer needs is the capacity to type questions in to google
Adding CheckBox to DataGridView in VB.NET[^]
First google hit on a header is on this site!!
CheckBox Header Column For DataGridView[^]
这篇关于在datagridview的标题单元格中添加复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文