Solved

C# .NET 4.5 WPF DataGrid display data

Posted on 2013-02-05
2
766 Views
Last Modified: 2016-09-12
Hi,

I have a datagrid that display two columns of data and 32 rows. The data displays fine in my application. What I was wondering was if there was a way to display the datagrid across 6 columns rather than 2?

Ie currently I have the two fields like this,

Name     Select

What I would like is the data displayed,

Name     Select     Name      Select     Name     Select

Is this possible?

Thanks,
M
0
Comment
Question by:mcs26
2 Comments
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 500 total points
ID: 38858659
this will need changes to ur data structure,, what are u trying to acheive, utilse screen space ? one way is use multiple grids and 3 instead of one and divide the data among them
0
 

Expert Comment

by:xihongshi
ID: 41793985
you could use a stored procedure to produce a table with the six columns and then display them in a datagrid through WPF.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
System.Security 2 27
Service Controller 1 23
Help with exporting to excel 4 27
Get number of Files in Directory and Sub Directories 2 40
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question