?
Solved

DataGridView?

Posted on 2006-04-26
1
Medium Priority
?
417 Views
Last Modified: 2008-02-01
How can I lock specific cells, not a coplete column?
0
Comment
Question by:szx248
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 200 total points
ID: 16546777
Use the DataGridViewCell.ReadOnly property:

Dim cell As DataGridViewCell =  Me.DataGridView1.Rows(10).Cells(3)
cell.ReadOnly = True

Bob
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question