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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JB

    #1

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

    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.
  • JB

    #2
    Re: Change the layout of a DataView (or similar control) - i.e.accross not down

    On 27 May, 16:11, JB <jamesb...@gmai l.comwrote:
    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

    Comment

    Working...