One way to do this is to hook the ItemCreated event.
if(e.Item.ItemType == ListItemType.Header)
{
// add a new DataGridItem to DataGrid Controls collection
}
There are some good example of futzing around with the event in this
article:
Summary Rows in DataGrid Controls
http://msdn.microsoft.com/library/de...ta01102002.asp
As Martin mentioned, there is also the Repeater control, which gives
you much greater control over layout.
--
Scott
http://www.OdeToCode.com
On Thu, 8 Jul 2004 14:01:43 +0300, "vaidas gudas"
<va**********@rst.lt> wrote: