Displaying a DataTable within a DataGrid cell

Discussion in 'ASP .Net Web Controls' started by mr killer, Sep 29, 2004.

  1. mr killer

    mr killer Guest

    I have an ASP.NET application simply displaying a DataGrid control on a form.
    Within some of the DataGrid cells I display multiple records within that
    cell based on an SQL query that loops through some table records.
    Unfortunately I can't format those records to be on there own separate line
    within the DataGrid cell, because the cell obviously just displays my results
    one after the other in the same cell. What I want to do is populate a
    separate DataTable, and store each record I grab in my query into its' own
    row within that DataTable. Then I want to display that DataTable within a
    specified DataGrid cell so the data will look stacked within the cell. This
    stems of the fact that HTML developers use tables for positioning data on a
    web-form, so I want to see if I can do the same thing within an ASP.NET
    DataGrid control. Is this possible? Thanks.

    Kirk Killer
     
    mr killer, Sep 29, 2004
    #1
    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. J. Babe
    Replies:
    1
    Views:
    8,356
    Kevin Spencer
    Aug 15, 2003
  2. Fredrik Rodin

    Sort a datatable and create a new datatable

    Fredrik Rodin, Feb 16, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    9,059
    paul.mariotti
    Sep 28, 2007
  3. =?Utf-8?B?Qmx1ZWZsb3dlcg==?=

    Casting DataTable to class inherit from DataTable

    =?Utf-8?B?Qmx1ZWZsb3dlcg==?=, Apr 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    999
    =?Utf-8?B?Qmx1ZWZsb3dlcg==?=
    Apr 2, 2004
  4. Phillip Roncoroni
    Replies:
    14
    Views:
    1,099
    Toby A Inkster
    Apr 5, 2004
  5. mr killer

    Displaying a DataTable within a DataGrid cell ASP.NET

    mr killer, Sep 29, 2004, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    281
    TenDot
    Oct 1, 2004
Loading...

Share This Page