日期:2014-05-18  浏览次数:20736 次

Linq 问题
 
int gcPersonCount = from c in dc.JT_ShengXuQKs where c.FB_ID == fID select ISNULL(c.SX_NaiNiu_Zong, 0) + ISNULL(c.SX_XiMenNiu_Zong, 0);
怎么不行呢


------解决方案--------------------
int gcPersonCount = from c in dc.JT_ShengXuQKs where c.FB_ID == fID select new 
{
//...这里面操作
}