in your itemdatabound event handler:
if(e.item.listtype == listtype.footer)
{
e.item.cells[2].text = "some total";
}
roughly (meaning it won't compile but this is the general idea)
--
Regards,
Alvin Bruney
[ASP.NET MVP
http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"mark" <> wrote in message
news:5MU_c.414$...
> im keeping running totals of certain columns in a datagrid, id like to put
> these totals in the footer - how do i do this ? or how can i put a label
> into the footer ? (im displaying results using labels instead at the
> moment)
> eg
>
> Label5.Text = "Column 1 Total:- " & mordraw & " (Ratio " &
> FormatNumber(ddpercent, 2) & "%)"
>
> id like that putting in the column1 footer if possible
> thanks
> mark
>
>