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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:12:28+00:00 2026-05-25T15:12:28+00:00

i have customer table have columns with customer id customer name I have another

  • 0

i have customer table have columns with

                                      customer id
                                     customer name 

I have another table called address
addressid
addresstext

now i want to display the customer name and addresstext like this

                    customers
                    -----------
                    customer name 1
                    customer name 2
                    customer name 3

                    addresses 
                    -----------
                    addresstext 1
                    addresstext 2
                    addresstext 3

like this in list view only single column above figureenter image description here

would any one pls help on this..

I am using c# in winforms applications

  • 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-25T15:12:29+00:00Added an answer on May 25, 2026 at 3:12 pm

    Many Thanks For all your support and i have solved my problem ……..like this

        lstviewcategories.View = View.Details; 
        lstviewcategories.Columns.Add(new ColumnHeader() { Width = lstviewcategories.Width - 20 }); 
        lstviewcategories.HeaderStyle = ColumnHeaderStyle.None; 
        lstviewcategories.Sorting = SortOrder.Ascending; 
        lstviewcategories.Dock = DockStyle.None; 
    
        ListViewGroup categorygroup = new ListViewGroup("Category Types",HorizontalAlignment.Center); 
        lstviewcategories.Groups.Add(categorygroup); 
    
    
        var categorytypes = (from categories in abc.categories 
                             select categories.category_Name).ToList(); 
    
        lstviewcategories.Items.Add(new ListViewItem() { Text = "ALL", Group = categorygroup }); 
        foreach (string item in categorytypes) 
        { 
    
            lstviewcategories.Items.Add(new ListViewItem() { Text = item.ToString(), Group = categorygroup }); 
    
        } 
    
        ListViewGroup pricerangegroup = new ListViewGroup("Price Ranges", HorizontalAlignment.Center); 
        lstviewcategories.Groups.Add(pricerangegroup); 
    
        lstviewcategories.Items.Add(new ListViewItem() { Text = "ALL", Group = pricerangegroup }); 
        lstviewcategories.Items.Add(new ListViewItem() { Text = "0-500", Group = pricerangegroup }); 
        lstviewcategories.Items.Add(new ListViewItem() { Text = "500-1000", Group = pricerangegroup }); 
        lstviewcategories.Items.Add(new ListViewItem() { Text = "1000+", Group = pricerangegroup });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table Customer with 2 columns Name and Surname (sql Server 2008).
I have an excel file with having a table (Customer Detail) with three columns.
i have a table with columns cid (customer id) cemail (customer email) cfax (customer
I have a table: event_list with two columns: name as var(80) and default as
I have a customer table with two columns first_name and last_name . How can
Let's say I have a Customer table which has a PrimaryContactId field and a
For example, in my WCF, if I have a Customer table and an Order
I have a performance problem on a query. First table is a Customer table
I have a MySQL table that defines values for a specific customer type. |
I have a Customers table and would like to assign a Salesperson to each

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.