|
-
April 6th, 2010, 06:52 AM
#1
How to get DataGriedView CheckBox is Check or not!
I have CheckBox in my datagridview1 and I am trying to get CheckBox is check or not.
for(int i; i< datagridview1.rows.count; i++)
{
bool IsChecked = ((CheckBox)datagridview1.rows[i].Cell["ID"].Value).Checked;
}
Above code is not working,please let me know where I am wrong.
I am using C#, VisualStudio2008.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|