467,861 Members | 1,581 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,861 developers. It's quick & easy.

Subtotals in a datagrid

Is there a way to put a subtotal in a datagrid? For example, let's say I
have a datagrid of sales for a given year. No paging. I've used the
ItemDataBound event of the datagrid to add totals at the bottom. I'd like
to add quarterly subtotals in the MIDDLE of the grid on their own rows. The
data is sorted by default by date, so after the last March record, I want to
insert a subtotal.

Which event (ItemDataBound or ItemCreated) is the right one to use?
Suggestions on how to get started? Will I be adding records to the
underlying dataset OR adding new rows to the datagrid?

Thanks!

Mark
Nov 17 '05 #1
  • viewed: 1340
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Scott | last post: by
2 posts views Thread by Richard Grene | last post: by
4 posts views Thread by Jerry LeVan | last post: by
9 posts views Thread by latin & geek via DotNetMonster.com | last post: by
3 posts views Thread by Greg | last post: by
reply views Thread by Paul Ilacqua | last post: by
2 posts views Thread by =?Utf-8?B?SHV0dHk=?= | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.