|
-
Nov 11th, 2008, 05:56 AM
#1
Thread Starter
Lively Member
[2005] DatagridView - automatically sum cells as user selects them
Hello,
Imagine a datagridview with a numeric column named "Duration".
This datagridview allows multiple selection.
As user selects multiple cells ONLY from this column, I want label1 to show the sum of all selected durations.
If user selects another column - or several columns - then label1 should only show "[n] rows selected" (where n represents the number of selected rows)
I have been googling this but didn't found nothing useful...
Can you please help?
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
|