Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

C# .NET 4.5 WPF DataGrid display data

Posted on 2013-02-05
2
Medium Priority
?
795 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

783 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