if(heji>3){ return "合格";}else{return "不合格"}
上面的语句在Reporting Services中可以采用=IIf(Fields!heji.Value>3,"合格","不合格")来实现.