Select Case e.DataCol.Name
'
Case "产品编号"
Dim Filter As String = "产品编号 = '" & e.DataRow("产品编号") & "'" '
'
e.DataRow("总数量-1") = DataTables("窗口_Table2").Compute("Sum(数量)", Filter)'
e.DataRow("总数量-2") = DataTables("窗口_Table3").Compute("Sum(数量)", Filter)'
End Select
如何用后台统计?