|
-
Dec 8th, 2007, 12:02 AM
#1
Thread Starter
Fanatic Member
.net 2.0 Datagridview
I m woring on .Net 2.0 desktop application and i have checkbox column in datagridview. I want to check that whether the checkbox is checked or not.
or we an say i want to findcontrol (checbox) in each column .
what should i do ...
any urgent help would be highly appreciate............
-
Dec 8th, 2007, 07:35 AM
#2
Re: .net 2.0 Datagridview
No, you don't want to find any controls in any columns. The check box in each cell is just a UI. It's a visual representation of the value stored in the cell. With check box cells that value will generally be either True or False. You simply get the Value property of the cell of interest.
That said, if your grid is bound then you should better get the underlying bound item via the BindingSource and get the appropriate field value from that.
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
|