|
-
Mar 5th, 2008, 11:03 AM
#1
Thread Starter
Lively Member
[2005] DataGridView get cell values
If I click and drag to select a range of cells on a DataGridView control how can I get at the values stored in the selected cells, thanks.
-
Mar 5th, 2008, 12:09 PM
#2
Re: [2005] DataGridView get cell values
You get them using the SelectedCells property of your datagridview. This property returns a DataGridViewSelectedCellCollection, you just loop thru it and read the individual cell value.
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
|