Disable a single column in a datagrid
Saturday, April 21, 2012 - 20:32
I have a datagrid in my project with 7 columns. I want to disable a single column in the datagrid so that user cannot change the values in that particular colum. I want this to happen with allow update option set to true..
pls help me.....
You can't disable it. Instead
You can't disable it. Instead hide it.
like this
datagrid.Columns(0).ReadOnly = True
or you can change the columns 0 into 1,2,3,4,5,6
u told u have 7 columns
Add new comment