Click here to Skip to main content
15,305,361 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Datagridview in C# windows Application
In it i have one ComboBoxColumn out of 12 datagridview columns

Now I want to disable/enable cells of particular row on ComboBoxColumns selected index chaged event according to Condition.

Not Gridview's whole column should enable/disable, I want Cells of particular selected Row of ComboxBox

How can i do this in C# windows application

1 solution

Is this does not work?
dataGridView1.Rows[1].Cells[2].ReadOnly = true;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900