?
Solved

C# .NET 4.5 WPF DataGrid display data

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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

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…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

718 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