select Sum(PaidAmount) from PaymentMaster select Sum(PaidAmount) from PaymentMaster where UserId=@UserId
SELECT UserID, SUM(PaidAmount) AS Total FROM PaymentMaster GROUP BY UserId
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)