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
manikandan r
NA
358
0
Datagridview Checkbox column Problem
Sep 3 2009 2:53 AM
Hi i want to get selected Checkbox value inside a datagridview. how can i check the status of the check box.. i used following code for this. but its not working. private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < dataGridView1.Rows.Count; i++) { if ((bool)this.dataGridView1.Rows[i].Cells[i].Value == true) { sb.Append(dataGridView1.Rows[i].Cells[i].ToString()); } } }
Reply
Answers (
1
)
C# Window ComboBox highlight Default Text Displayed
How to configure SSL connection to MYSQL Database