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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:52:19+00:00 2026-05-25T19:52:19+00:00

I have a project where there is an existing DataGrid. I have a DataSet

  • 0

I have a project where there is an existing DataGrid. I have a DataSet properly bound to it and can populate columns with data for the field in the DataSet they represent.

Now I am in a situation where over time some of these descriptor fields are empty, so if I explicitly show columns and then populate the user ends up seeing a sparsely populated ugly DataGrid.

Is there some way that I can remove dividers/columns and merge descript fields. For example, if User A only has his/her email field filled out, User B only has the name field filled out and User C only had phone number field filled out I would like to display something that looks like a simple list:
userA@intertubez.com
Useri S. Bee
(555) 555-1234

Is this possible? Is this done in the XAML or the codebehind?

  • 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-25T19:52:20+00:00Added an answer on May 25, 2026 at 7:52 pm

    It is possible that you can solve it like this: bind your DataSet to the ListBox and work with a DataTemplate. 🙂

    MSDN DataTemplate Overview

    Or you could convert your rows to string and then you get a List and then bind that to the ListBox. I think the first solution is better.

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

Sidebar

Related Questions

If I have an existing solution containing multiple c# projects, are there any static
I have a project where there are multiple applications that have some common configuration
I have a project where there are Windows, FreeBSD and Linux servers. I have
So I have a project where there is some automatic initialization going on through
In my project there are situations where we have to send xml messages (as
I currently have the DatePicker in my project but there are problems due to
I have a project that has a makefile with broken dependencies. Is there any
I have a project that I am working on in django. There are a
I have a project with a main MDI form. There is a child MDI
I have my project folder, for instance, myWeb . In it there are various

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.