Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Displaying a DataTable within a DataGrid cell

Reply
Thread Tools

Displaying a DataTable within a DataGrid cell

 
 
mr killer
Guest
Posts: n/a
 
      09-29-2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort a datatable and create a new datatable Fredrik Rodin ASP .Net 3 09-28-2007 07:28 AM
Displaying a DataTable within a DataGrid cell ASP.NET mr killer ASP .Net Web Controls 2 10-01-2004 07:59 PM
How do I have a table cell fetch another page to display within the cell? Phillip Roncoroni HTML 14 04-05-2004 05:58 PM
Casting DataTable to class inherit from DataTable =?Utf-8?B?Qmx1ZWZsb3dlcg==?= ASP .Net 0 04-02-2004 05:41 AM
Adding DataTable Rows To another DataTable J. Babe ASP .Net 1 08-15-2003 05:04 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57