DataGrid - summary row

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.
 
M

Michael Nemtsev

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
 
O

Otis Mukinfus

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top