Use the Repeater control. You can't do it with the DataGrid. ______________________ Paul Brinkley-Rogers Web Developer The Sak [EMAIL PROTECTED] http://www.thesak.com
-----Original Message----- From: Jeff [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 8:21 AM To: dotnet Subject: Alternating Data in a Datagrid I have a simple bound datagrid that displays data in 5 columns. col1 | col2 | col3 | col4 | col5 | | | | I want to create a 6th bound column, but display it below the existing 5 columns. col1 | col2 | col3 | col4 | col5 Column 6 is as wide as the datagrid Datagrid looks kinda like this <datagrid> <columns> <asp:boundcolumn ....> <asp:boundcolumn ....> <asp:boundcolumn ....> <asp:boundcolumn ....> <asp:boundcolumn ....> </columns> </datagrid> Is there a way to do this in the aspx page? putting a <BR> between the <boundcolumns> doesnt work. Should I create some sort of template? Or should I change the values of the columns in the ItemDatabound or ItemCreated methods of the Datagrid? IN classic ASP I would of just created a table, and looped through a recordset displaying the values where I want them... Thanks in advance, Jeff --- You are currently subscribed to dotnet as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/ --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
