TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ajit N
NA
352
71.5k
how to mark as read only the last row of DataGridView ?
Feb 23 2019 6:46 AM
i'm displaying the values in last row of datagridview. but when i click on last row, the values are disappear. i jast want it stable after clicking on it (i.e. on last row).
For stable i use this below code but it's not working
dataGridView1.Rows[dataGridView1.Rows.Count - 1].ReadOnly =
true
;
so suggest me how can i solve it ?
Reply
Answers (
2
)
System.InvalidCastException: 'Unable to cast object of type
System.NullReferenceException: 'Object reference not set to