ds.Tables[0].Compute().ToString();高人指点!1解决方案

ds.Tables[0].Compute().ToString()高人指点!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1ds.Tables[0].Compute(Sum(

ds.Tables[0].Compute().ToString();高人指点!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
ds.Tables[0].Compute("Sum(总费用)", "医院级次='03' and 费用类型='21' and 费用类型='22' ").ToString();
得不到我想要的答案,因为

医院级次 总费用 医院级次
02 51700011467 21
03 13000720 22
03 217161150824.4 21
02 155 11
03 3121111 11
01 3170008261 21

 如果一个医院级次对应一个费用类型可以取出来,但对应多个费用类型 如何取值啊 高人给我指点!!!!!!!!!!

[解决办法]
费用类型='21' and 费用类型='22' 
这个应该用or吧??


ds.Tables[0].Compute("Sum(总费用)", "医院级次='03' and (费用类型='21' or 费用类型='22') ").ToString();