我使用Jquery重新加载或重新呈现DataTable有问题,我试过了
Private table1 As DataTable
Private Function getIncome(ByVal acName As String, ByVal acTeam As String) As Integer
Dim query = table1.AsEnumerable().Where(Function(x) x.Field(Of String)("G") = acName AndAlso x.Field(Of String)("F") = acTeam _
).Sum(Function(x) x.Field(Of Integer)("K"))
Dim total As Integer = query
Return total
End Function