asp调用数据时怎么在首页不显示某个频道页ID的内容呢?

问题描述:

请教各位一个问题asp调用数据时怎么在首页不显示某个频道页ID的内容 i_parent是频道页
例如:不显示频道页D=12的内容,要怎么写呢

 Set rs = ado_query("select top 40 * from cms_info where   i_enable = 1 and   i_parent = ("&int(id_arr(i))&") and   i_fbsj   <=  #"&now()&"#   order by i_order desc  

Set rs = ado_query("select top 40 * from cms_info where i_enable = 1** and i_parent!=12 and** i_parent = ("&int(id_arr(i))&") and i_fbsj <= #"&now()&"# order by i_order desc