Shobdibo
come and learn something
Tuesday, March 22, 2016
Sum by LINQ with Clause
decimal sum_amount = Convert.ToDecimal((from n in db.TestDbSet
where n.COMPID == compid && n.BILLID == billid && n.CHARGEID == chargeid select n.AMOUNT).Sum());
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment