Solved

C# .NET 4.5 WPF DataGrid display data

Posted on 2013-02-05
2
763 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Render HTML in a desktop app, not using a browser 4 53
asp.net mvc5 3 35
C# Update Status Bar.... 1 22
Expando 4 33
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now