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

  • Home
  • SEARCH
  • 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 8846281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:56:38+00:00 2026-06-14T11:56:38+00:00

I am trying to write to only one column of a listView (a subitem)

  • 0

I am trying to write to only one column of a listView (a subitem) but I want it so I can run two arrays through it not just one array.

When I try to do that it adds it to the next column in the listView (not the one i want it to write to).

For example this adds the array to different columns, not all of them to the same one:

 string[] k = getBetweenAll(thepage, "<h4 style=\"padding:0 0 0 3px;\"><a href=\"", "\" target=\"_blank\">");
 string[] q = getBetweenAll(thepage, "<h4><a href=\"", "\" target=\"_blank\">");
 for (int i = 0; i < k.Length && i < listViewClickbank.Items.Count; i++)
 {

     listViewClickbank.Items[i].SubItems.Add(input + k[i]);
     listViewClickbank.Items[i].SubItems.Add(input + q[i]);
 }
  • 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-14T11:56:39+00:00Added an answer on June 14, 2026 at 11:56 am

    Try this:

         string[] k = getBetweenAll(thepage, "<h4 style=\"padding:0 0 0 3px;\"><a href=\"", "\" target=\"_blank\">");
         string[] q = getBetweenAll(thepage, "<h4><a href=\"", "\" target=\"_blank\">");
         var items = listViewClickbank.Items;
    
    
         var z = new int[k.Length + q.Length]; 
         k.CopyTo(z, 0);
         q.CopyTo(z, k.Length);
    
         for (int i = 0; i < z.Length; i++)
         {
             Items.SubItems.Add(input + z[i]);
         }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two tables, where only one column is the same. I am trying
I am trying to read in a file that only have one column, and
I am trying to create a write only file in C on Linux (Ubuntu).
I am trying to write a linq query that will only return certain columns
I'm trying to write some C code which is portable only so far as
I'm trying to write a supervisord.conf for starting a django fastcgi process. The only
I am trying write a function that generates simulated data but if the simulated
Trying to write out syslog entries containing strings but they don't register. // person.name
I am trying to write a SQL statement between two tables where there is
I am using SSIS 2008 and am trying to update one column in my

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.