Getting values from datagrid view column to list<>

Posted by EvanRyan on Stack Overflow See other posts from Stack Overflow or by EvanRyan
Published on 2010-05-19T20:46:20Z Indexed on 2010/05/19 20:50 UTC
Read the original article Hit count: 210

Filed under:
|
|

My main form in my application has a datagrid view that can have 1 to many user selected inputs. Column 8 of this grid is for the user to input "time in minutes." I have a separate class where I have built a timer that counts down from whatever time the user specifies down to 0. What I need is to create a series of alarms that go off as the timer counts down that are triggered by the user input values in column 8 of my datagrid.

I think the best way to do this is to build a list<> from the values in the datagrid. I for whatever reason can't quite figure out how to get the values from the datagrid in to a list<> in my other class.

Hopefully I explained in a way that makes sense.

© Stack Overflow or respective owner

Related posts about c#

Related posts about datagrid