Christine Tan

Christine Tan

  • NA
  • 7
  • 13.9k

How to sum column data in database?

Feb 15 2011 10:20 AM

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)