473,769 Members | 2,240 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1560
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***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in message
news:AF******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.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
2459
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 that is next to the file field. Once i browse for the file, i check the box to rotate and then upload. However i am unable to get it to rotate when the box is checked. It only rotates when i set a boolean (RotateImage) to true. Any ideas on how to...
1
2561
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 display statistics on a large LCD display for viewing by people within the room (30 feet away). One problem is that the screen can obviously only display so much legible data at a time. I may have upwards of 60 or 70 rows to display on a rotating...
3
2556
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 have links to allow the user to rotate the photo 90 degrees left or right. After I rebind the datalist,the photo is not rotated on the web page, although it correctly rotated on the server. If I click refresh, it updates, but calling refresh causes...
6
5619
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
2691
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 angle, but this rotates the whole drawing of the stars but what I realy want is for the stars to rotate round it's center point, is this possible? I hope I was clear enough in my explanation. Thanks in advance
17
29416
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
11047
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 makes one more copy of the original matrix, how is the efficiency? Can the copy be saved? Comments on it are welcome. Can I extend it to work on a matrix of any size (or even any type, not just integers) for the logic may be the same when it...
8
16813
by: Samuel Shulman | last post by:
Is it possible and how to rotate pictures in HTML document Thank you, Samuel
10
10958
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 (in div layers) each time a user reloads the page. Right now I'm resorting to a random image rotation (those scripts are a dime a dozen) on refresh, but it's far from ideal for what I'm trying to accomplish. Any help on this would be GREATLY...
0
9590
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10051
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3968
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3571
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.