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
Enable/Disable Cells of Datagridview On ComboboxColumn's selectedIndexChanged Event
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Naeem KhanRank #2,072 · 698 reputationPosted Feb 7, 2011, 9:29 AM EST
for (int i; i < dataGridView1.rowscount; i++)
{
Sam HobbsRank #107 · 20.5K reputationPosted Feb 7, 2011, 6:23 PM EST