C# WIndows Application - Rotate Table 180 degrees?

Posted on 2013-09-08
Medium Priority
Last Modified: 2013-10-03
I have a c# Windows Form application that display data from a file into a datagrid format like this:

[Col1]  [Col2]  [Col3]  .......
1222    ddddd  dddkk  ......
3221    ggggkk  ffffkk  ......
4009   dkdkdl   dddd ........

I would like to the allow the user rotate this table.  
           Rec1    Rec2    Rec3    Rec4
[Col1]  1222    3221   4009
[Col2]  ddddd  ggggkk dkdkdl
[Col3]  dddkk   ffffkk  dddd

Can this be done in C# and can you point me to project where this has been done.
Question by:hojohappy
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39474868
What data structure are you using to hold the data?
LVL 71

Accepted Solution

Éric Moreau earned 2000 total points
ID: 39474941

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

624 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