DataTable有自带的方法可用于计算,Linq要和EF配合才好用。参考如下链接:http://blog.csdn.net/smartsmile2012/article/details/8309664