Code example in the ItemDataBound event handler:
protected void DataGrid1_ItemDataBound(object sender, DataGridItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Header)
{
//This row is the header of the grid.
//Add code to do whatever you want to the header
}
}
Tuesday, April 15, 2008
Subscribe to:
Posts (Atom)