所以想问下怎么写这个查询语句!
function ContentList(ID) dim SortPath SortPath=request.QueryString("SortPath") dim idCount dim datafrom datafrom="Ameav_News" dim datawhere' if instr(SortPath,"37")>0 then datawhere="where ViewFlag and Instr(SortPath,'"&SortPath&"')>0" else datawhere="where ViewFlag " end if