473,385 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Can I rotate the DataGrid?

Since there are too many data fields (clolumns) to display, it is better for
me to rotate the datagrid by 90 degrees (ie, the columns become rows in web
display).
Anyone here can tell me how to do it, in either design or codebehind.

Thanks

David
Nov 19 '05 #1
3 1540
The datagrid is nothing but html - to turn the data around you would have
to work out how to re-write the html table tags to suit your values and
probably not bind to the data, instead manually building the tables for your
grid and picking out what goes where.

If it was me, I would consider the human factor problem of having this much
data in a web page and redesign the view so its less cumbersome.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"david" <da***@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Since there are too many data fields (clolumns) to display, it is better
for
me to rotate the datagrid by 90 degrees (ie, the columns become rows in
web
display).
Anyone here can tell me how to do it, in either design or codebehind.

Thanks

David

Nov 19 '05 #2
Thank you very much.
How about the paging when I manually construct the data table?

David

"John Timney (ASP.NET MVP)" wrote:
The datagrid is nothing but html - to turn the data around you would have
to work out how to re-write the html table tags to suit your values and
probably not bind to the data, instead manually building the tables for your
grid and picking out what goes where.

If it was me, I would consider the human factor problem of having this much
data in a web page and redesign the view so its less cumbersome.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"david" <da***@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Since there are too many data fields (clolumns) to display, it is better
for
me to rotate the datagrid by 90 degrees (ie, the columns become rows in
web
display).
Anyone here can tell me how to do it, in either design or codebehind.

Thanks

David


Nov 19 '05 #3
if you can manually construct a dataset that has the data correctly
organised so you dont have to hack the table together, then you can bind it
and should be able to page as normal - otherwise - stick the dataset in the
cache and filter on it.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"david" <da***@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
Thank you very much.
How about the paging when I manually construct the data table?

David

"John Timney (ASP.NET MVP)" wrote:
The datagrid is nothing but html - to turn the data around you would
have
to work out how to re-write the html table tags to suit your values and
probably not bind to the data, instead manually building the tables for
your
grid and picking out what goes where.

If it was me, I would consider the human factor problem of having this
much
data in a web page and redesign the view so its less cumbersome.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"david" <da***@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
> Since there are too many data fields (clolumns) to display, it is
> better
> for
> me to rotate the datagrid by 90 degrees (ie, the columns become rows in
> web
> display).
> Anyone here can tell me how to do it, in either design or codebehind.
>
> Thanks
>
> David


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Showjumper | last post by:
Hi, I have developed an upload server controls to be reused over a number of projects. One of the tasks it needs to handle is to rotate an image. I want to accoplish this by checking the checkbox...
1
by: Jay | last post by:
I'm wondering if anyone has even encountered a control or other scripting that will automatically rotate the rows of a datagrid... I am in the process of building an asp.net application that will...
3
by: byrd48 | last post by:
Hi, I am developing a web site which allows users to upload and share photos. I have a datalist which lists the photos and has the usual edit, update commands. Within the edititemtemplate, I...
6
by: Li Pang | last post by:
I'd like to display data in a datagrid horizontally instead of vertically (ie, rotate datagrid by 90 degree). Anyone knows how? Thanks in advance
2
by: Peter Proost | last post by:
Hi group, I got the following piece of code which draws a square with stars round it, now I want the stars to rotate round the square, I can do this with the mx.rotate and a timer and an...
17
by: santel_helvis | last post by:
Hi All, Could anyone tell me how to rotate the image in javascript. Which concepts I should concentrate to rotate the image
8
by: lovecreatesbeauty | last post by:
I write a function to rotate a matrix by 90 degrees clockwise, this function works on a matrix of specific size, for example, it rotates a 4*4 matrix of integers in the following code. The function...
8
by: Samuel Shulman | last post by:
Is it possible and how to rotate pictures in HTML document Thank you, Samuel
10
by: Joey_Stacks | last post by:
Does anyone know of a scipt that will rotate random div layers on page refresh? I have a primary content area front and center on my site homepage, and I'd like to rotate various chunks of html...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.