0
Answer

Visibility of check box in Datagrid view of Windows Form.

Ask a question
foreach (DataGridViewRow row in dvgCbs3Prod.Rows)
{
if (Convert.ToDecimal(dvgCbs3Prod.Rows[row.Index].Cells[10].EditedFormattedValue) == 0)
{
dvgCbs3Prod.Rows[row.Index].Cells[10].Value = DBNull.Value;
//dvgCbs3Prod.Rows[row.Index].Cells[10] = new DataGridViewTextBoxCell();
}
else
{
dvgCbs3Prod.Rows[row.Index].Cells[10].Visible= false;
}
}
Guys I am using this code but it is not ....Plz suggest me how to hide the check box of a particular cell in datagrid view