Click here to Skip to main content
15,891,745 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do when i check off the combo box, it makes the rest of the row read only

myTable.Columns.Add("No Records", GetType(Boolean))
Posted
Comments
Not clear. Please elaborate.
PythonProgrammer 20-Aug-13 6:56am    
when i check of a check box in my column on my data table...when i check the checkbox off in a row..i want the rest of the row to become read only
Is it a Web app or Windows app? GridView or DataGridView?
PythonProgrammer 20-Aug-13 7:03am    
windows app...datagridview
Check my answer.

1 solution

Refer - C# DataGridView Read Only Columns and Rows[^].
C#
dataGridView1.Rows[index].ReadOnly = true;
 
Share this answer
 

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