string i=dt.Compute("COUNT(PName)", "XDQDate=''").ToString();//结果为0
而在SQL中用where XDQDate=''查询出的结果为1
这是为什么?要怎样用Compute计算出正确的结果?
还有,compute会忽略null值?