8
Reply

How to sum column data in database?

Christine Tan

Christine Tan

Feb 15 2011 10:20 AM
11.9k

Hello, I need help.
I'm doing a window phone 7 aplication project.
I'm using Microsoft Visual Studio 2010, Window Phone Application and WCF.
I using Microsoft SQL Server database to store my data and I had linked the Window Phone Application and WCF, everything work good.
I'm stuck in the part where I need to sum up all the value in the column "dtServingWeight" in my database and get the total sum.
What I should type in my Service1.svc.cs, IService1.cs and my xaml page?
Hope you can help me, Thanks in advance!

Answers (8)