G
Guest
Hello,
float tAmt = dataSet11.Tables[myTable].Compute("Sum(myAmount)", "");
I have this line in my code to calculate total myAmount field in my
datagrid. Now I need to do this conditional to another field in the datagrid.
Like “Sum(myAmount) where mySecondField =â€XXXXâ€â€. How can I do this?
Thanks,
float tAmt = dataSet11.Tables[myTable].Compute("Sum(myAmount)", "");
I have this line in my code to calculate total myAmount field in my
datagrid. Now I need to do this conditional to another field in the datagrid.
Like “Sum(myAmount) where mySecondField =â€XXXXâ€â€. How can I do this?
Thanks,