如何在Datagridview中禁用按钮C#

时间:2016-10-08 07:03:29

标签: c# button datagridview disabled-control

我有一个D.G.V和我所有列的类型是DataGridViewButtonColumn,我想禁用一些按钮的 喜欢 row [1] .cell [1]或其他

if (dataGridView1.Rows[0].Cells[0].Value == null)
    {
        /// disable that button's
    }

0 个答案:

没有答案
相关问题