select top "+pagesize+*,case IsPass when 1 then '' when 0 then '×' end as IsPass_2,"+
                "
case hotinf when 1 then '' when 0 then '×' end as hotinf_2," +
                "
case focusinf when 1 then '' when 0 then '×' end as focusinf_2," +
                "
case IsState when 1 then '' when 0 then '×' end as IsState_2, " +
                "
case when cast(zdnum as float)>0 then '' else  '×' end as zdnum_2, " +
                "(
select typename from BidInfType where ID = typeid) as typeid_2 "+
                
//"(select cname from EnterpriseXiangxi where ID = NewInf.userid) as userid_2 "+
                " 
from BidInf where ID <> -1 "+str+and ID not in"+
                "(
select top  "+count.ToString()+" ID from BidInf where ID <> -1 "+str+order by ID descorder by ID desc
posted on 2007-11-22 20:32  小角色  阅读(462)  评论(0)    收藏  举报