Datatable Checkbox只读行 [英] Datatable Checkbox Read only row
本文介绍了Datatable Checkbox只读行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我勾选组合框时,它会使该行的其余部分只读
myTable.Columns.Add(No Records, GetType(布尔值))
解决方案
参考 - C#DataGridView只读列和行 [ ^ ]。
dataGridView1.Rows [index] .ReadOnly = true 跨度>;
How do when i check off the combo box, it makes the rest of the row read only
myTable.Columns.Add("No Records", GetType(Boolean))
解决方案
Refer - C# DataGridView Read Only Columns and Rows[^].
dataGridView1.Rows[index].ReadOnly = true;
这篇关于Datatable Checkbox只读行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文