all groups > dotnet windows forms designtime > august 2004 >
You're in the

dotnet windows forms designtime

group:

DataGrid question



DataGrid question Woody Splawn
8/2/2004 2:43:53 PM
dotnet windows forms designtime: I am just trying to figure out what Microsoft thinks is orthodox with regard
to getting totals in a datagrid. That is, let's say I have a datagrid with
an amount column in it and at the bottom of the grid I want a total for the
Amount column. Is the datagrid designed in such a way as to provide a total
column or field by some magic or do I need to add a text field below the
grid that contains an expression that totals the Amount field of the grid.
What is considered orthodox? Which way is best or is there only one way?

With the new DataGridView in VS 2005 will it behave the same way in this
regard or will there be something new that allows for easy totals like in a
spreadsheet?

Anyone?


Re: DataGrid question Woody Splawn
8/5/2004 8:21:32 AM
Hard to understand why I have not received an answer to the question below.
It seems a reasonable question and I have asked it as intiligently as I know
how.

Anyone?




[quoted text, click to view]

Re: DataGrid question Andy Becker
8/5/2004 11:01:28 AM
[quoted text, click to view]

MSDN appears to have an explanation of the MS recommended practice:

http://search.microsoft.com/search/results.aspx?qu=datagrid+totals&View=msdn&st=b&c=0&s=1&swc=0

Best Regards,

Andy

AddThis Social Bookmark Button