DataGrid - summary row

  • Thread starter Thread starter Marcin
  • Start date Start date
M

Marcin

Hello!

How to I can create a summary row in DataGrid in Visual C# .NET or VB.NET?

In ASP.NET available Footer for DataGrid, but in VC# I can't find this.
 
Hello Marcin,

There is a problem with this, general solution is to use 3rd party grid.
BTW, you can use several textbox under your grid control, to show summary
info

M> Hello!
M>
M> How to I can create a summary row in DataGrid in Visual C# .NET or
M> VB.NET?
M>
M> In ASP.NET available Footer for DataGrid, but in VC# I can't find
M> this.
M>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Hello Marcin,

There is a problem with this, general solution is to use 3rd party grid.
BTW, you can use several textbox under your grid control, to show summary
info

M> Hello!
M>
M> How to I can create a summary row in DataGrid in Visual C# .NET or
M> VB.NET?
M>
M> In ASP.NET available Footer for DataGrid, but in VC# I can't find
M> this.
M>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
You might also loop through the rows and get the totals of the columns you want
and add a last row with the totals. Cumbersome, but doable. Michael's answer
is probably bets if you don't mind using a third party control.

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
 
Back
Top