Change the layout of a DataView (or similar control) - i.e. accrossnot down

J

JB

At present in my app I am using a Dataview to display data from an sql
server table.

It is currently layout out in the following manner:

Column1 | column2 | Column3 | Column4 | ............. |
Column20
data | data | data | data
| ............ | data

So a pretty standard view.

Since it is only every showing 1 row from a table, it is a real waste
of space, and because the row is so long it makes it impossible to fit
on a screen.


-
What I am trying to do is display it in a method more like the
following:


Column1 | data Column18 | data
Column2 | data Column19 | data
Column3 | data Column20 | data
......................... .........................

Is it possible with any standard control? Or am I going to have to
draw a table out myself dynamically in code and then populate it from
there.
 
J

JB

At present in my app I am using a Dataview to display data from an sql
server table.

It is currently layout out in the following manner:

Column1  |  column2  |  Column3  |  Column4  |  ..............  |
Column20
  data      |      data    |      data     |      data
|   ............  |      data

So a pretty standard view.

Since it is only every showing 1 row from a table, it is a real waste
of space, and because the row is so long it makes it impossible to fit
on a screen.

-
What I am trying to do is display it in a method more like the
following:

Column1  |  data                Column18  |  data
Column2  |  data                Column19  |  data
Column3  |  data                Column20  |  data
........................                ..........................

Is it possible with any standard control? Or am I going to have to
draw a table out myself dynamically in code and then populate it from
there.

Ouch, it seems my formatting didnt come out quite right.
It is currently:
Column1 | Column2 | Column3 | Column4
data | data | data | data
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top