DGV设置单元不可编辑

 dgvUnitInfo.Grid.Rows[i].Cells[nameof(DicDrugUnit.DgUnit)].Activation = Activation.NoEdit;
原文地址:https://www.cnblogs.com/yuanshuo/p/12512751.html