Hi, (Using Adapter Ver 2.00, VB, SQL 2K)
I'm extending a Typed List to add a calculated field, but don't actually know how to specify the calculation. This is what I've got:
Partial Public Class BudgetDivisionsTypedList
Protected Overrides Sub OnInitialized()
'Create custom column
Dim colFundTotal As New DataColumn("FundTotal", GetType(Integer), Nothing, MappingType.Element)
Me.Columns.Add(colFundTotal)
MyBase.OnInitialized()
End Sub
End Class
How do I do the equivalent of: colFundTotal = V1Amount + V2Amount
where V1Amount & V2Amount are existing columns within the Typed List.
Thanks