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
chase pooh
NA
3
0
DataGrid View Checkbox question
Jun 15 2009 10:58 AM
Hello,
I am trying to populate a checkbox column in a datagridview control when my form loads.
I am using the following code snippet
foreach (DataGridViewRow row in gvLocation.Rows)
{
row.Cells[0].Value = true;
}
I have also tried
for (int i = 0; i < gvLocation.RowCount; i++)
{
gvLocation.Rows[i].Cells[0].Value = true;
}
I can see the value of the cell to be true in the watch window but I am not able to see the checkbox
as checked in the grid, Can anyone let me know what I am missing.
Chase
Reply
Answers (
1
)
Working with Calander giving problem
Problem with Crystal Reports after making Setup