Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 805937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:09:56+00:00 2026-05-15T00:09:56+00:00

My main form in my application has a datagrid view that can have 1

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:09:57+00:00Added an answer on May 15, 2026 at 12:09 am

    Just did this off the top of my head

    List<int> listOfMinutes = new List<int>();
    
    for (int i = 0;i < dataGridView1.Rows.Count; i++)
    {
        // either ".Text" or ".Value"...can't remember
        listOfMinutes.Add(int.Parse(dataGridView1.Rows[i].Cells[7].Text));
    }
    

    That should give you a list of the data in Column 8. This is assuming you mean Column 8 when looking at the Grid.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Delphi application that has a document browser as the main form.
I have an application that has a main form and uses an event handler
I have an application that has a few different forms. From the main form
I have WPF Application where I have One main form and other user controls
Events are synchronous in C#. I have this application where my main form starts
I have a window form application, and it has multiple threads running that would
When an application's main Form - the one passed to Application.Run() - has this.ShowInTaskBar
I am working on a .NET C# application that has a main Form which
I have a GUI C# application that has a single button Start/Stop. Originally this
I have a WinForms application. the main form is has a lot of controls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.