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 9223389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:03:59+00:00 2026-06-18T04:03:59+00:00

I have placed a ListView on my main form. I put 24 columns in

  • 0

I have placed a ListView on my main form.

I put 24 columns in it

I set the view to details

I have an array of integers like this

    public static int[] myArrayOfIntegers = new int[24];
    public static bool TheArrayIsNowReady = false;
    int i;
    int j;
    int k;
    string UserSeesThis;

Now for my request for help, please. There are 151 properties and 233 Methods associated with a ListView. Could someone please help me to understand how to place my 24 integers in this listview for the user to see them ?

        if (TheArrayIsNowReady)
        {
            for (i = 0; i < 24; i++)
            {
                UserSeesThis = myArrayOfIntegers[i].ToString();
                listView1._____what___do___I___put___here___[i] = UserSeesThis;
            }
        }

After doing one line, I’m going to have to put 500 more lines in the list box, and let the user scroll back through them. (We’re hunting bogus numbers, if it matters)

In my dream app, I’ll let the user scroll back five or six thousand lines.

The user is going to run a test, and an external box will send the PC 500 sets of 24 numbers. I want to put those on the screen for the user to see. I would like to be able to handle the same five and ten times over.

  • 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-06-18T04:04:01+00:00Added an answer on June 18, 2026 at 4:04 am

    1) Create a listviewitem, ListViewItem item = new ListviewItem("firstvalue");

    2) Create subitems for each column, item.SubItems.add("value");

    3) Add item to list, listView1.Items.Add(item);

        public static int[] myArrayOfIntegers = new int[24];
        public static bool TheArrayIsNowReady = false;
        int i, j, k;
        string UserSeesThis = "?";
        ListViewItem item;
    
    
        private void Form1_Load(object sender, EventArgs e)
        {
            TheArrayIsNowReady = true;
            if (TheArrayIsNowReady)
            {
                for (i = 0; i < 24; i++)
                {
                    myArrayOfIntegers[i] = i;
                    if (i == 0) { item = new ListViewItem(myArrayOfIntegers[0].ToString()); }
                    item.SubItems.Add(myArrayOfIntegers[i].ToString());
                    UserSeesThis = "?";
                }
                listView1.Items.Add(item);
            }
    
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Checkbox array. I placed it in a Listview . I set
I have a ListView template that's being used in several places and I'd like
In Delphi 2010, I have placed 2 radio groups onto a form then added
I have a nested GridView that is placed inside a ListView. The GridView renders
I have a class that generates a listview dynamically and placed it in a
I have a ListView view I need to populate using data I am fetching
i have a listview that shows diferent data from my database. this works perfeclty.
this is my first time using the ListView and have have tried out many
I have a simple ListView and on that ListView I have placed a number
I have a little tweak in my application: my Listview is placed between 2

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.