Totals Row in a DataGridView

后端 未结 3 1837
忘掉有多难
忘掉有多难 2021-01-20 07:41

I am developing a winform application application. I wanted to show sum of columns in last row of each column. This row must always be visible.

At moment I am thinki

3条回答
  •  不思量自难忘°
    2021-01-20 08:06

    You can do it in the same way as you suggest, like placing a datagridview for displaying the sum. you can also handle the Horizontal Scroll with this, if there are more columns.

    Another method is there in this link

    Another way you can Add Rows to your datasource itself to display the sum.

提交回复
热议问题