Solved

C# .NET 4.5 WPF DataGrid display data

Posted on 2013-02-05
2
773 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

632 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