Databinding a Multi Column List?

Discussion in 'ASP .Net' started by cmay, Sep 28, 2006.

  1. cmay

    cmay Guest

    I need to databind a record set from the database into a page.

    The output I need is a textbox and a label for every item in the
    resultset, but I don't want a long vertical list... instead I want a
    table with 3 or 4 columns, with each cell holding a textbox and a
    label.

    So if I were to bind this to a datagrid, the default view would be a
    tall and narrow grid, but what I want is more of a rectangular shape on
    the form.

    Anyone know if this type of thing is possible?
    cmay, Sep 28, 2006
    #1
    1. Advertising

  2. cmay

    cmay Guest

    It looks like you can do this with a datalist using the RepeatColumn
    property.




    cmay wrote:
    > I need to databind a record set from the database into a page.
    >
    > The output I need is a textbox and a label for every item in the
    > resultset, but I don't want a long vertical list... instead I want a
    > table with 3 or 4 columns, with each cell holding a textbox and a
    > label.
    >
    > So if I were to bind this to a datagrid, the default view would be a
    > tall and narrow grid, but what I want is more of a rectangular shape on
    > the form.
    >
    > Anyone know if this type of thing is possible?
    cmay, Sep 29, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Keithb
    Replies:
    2
    Views:
    1,136
  2. Larry R
    Replies:
    1
    Views:
    382
    marss
    Jun 8, 2007
  3. jobs
    Replies:
    0
    Views:
    1,618
  4. asil klin
    Replies:
    28
    Views:
    1,297
    Andreas Leitgeb
    Mar 5, 2011
  5. Earl Teigrob
    Replies:
    1
    Views:
    401
    Shravan
    Mar 1, 2004
Loading...

Share This Page