Programming/.NET

총합계 재계산 하기(2) : 이벤트 써서

초록깨비 2008. 12. 4. 09:19
728x90

총합계 재계산 하기(2) : 이벤트 써서
  

    Private Sub xgSheetView_CustomSummaryCalculate(ByVal sender As Object, ByVal e As DevExpress.Data.CustomSummaryEventArgs) Handles xgSheetView.CustomSummaryCalculate

        If e.SummaryProcess = DevExpress.Data.CustomSummaryProcess.Finalize Then

            'If e.Item.ToString() = "FAIL_COUNT" Then

            Try

                e.TotalValue = colSUCC_COUNT.SummaryItem.SummaryValue * 15

                e.TotalValue = "과금액 =" & e.TotalValue

            Catch ex As Exception

 

            End Try

            'End If

        End If

    End Sub

728x90