Hi Friends,
I want to make the first column is readonly and remaining column should be in read/write option in Windows application using C sharp coding.
Can anyone help me.
by
Gopi A
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Naeem KhanPosted Jul 4, 2012, 2:18 AM
before using this code please datagridview should be read only false .. after that you can put this code where ever you want to use
datagridview .Columns["Column No"].ReadOnly = true;
and after that you can make all columns Read Only = false...
Hope this will be help full for you if not then reply me...