标题:大家看看在asp里面这样有错么
取消只看楼主
a48567653
Rank: 1
等 级:新手上路
帖 子:45
专家分:0
注 册:2008-2-16
 问题点数:0 回复次数:0 
大家看看在asp里面这样有错么
<%    
    Set rc = Server.CreateObject("ADODB.Recordset")
    switch (request("action")){  
    case:"办公家具"
    sql = "select * from produce where News_Class = '办公家具' "
    case:"宾馆客房家具"
    sql = "select * from produce where News_Class = '宾馆客房家具' "
    case:"酒店家具"
    sql = "select * from produce where News_Class = '酒店家具' "
    case:"民用家具"
    sql = "select * from produce where News_Class = '民用家具' "
    case:"其他产品"
    sql = "select * from produce where News_Class = '其他产品' "
    default:
    sql = "select * from produce "
    }
    set rc = conn.Execute(sql)
%>
搜索更多相关主题的帖子: produce 酒店 办公家具 case 
2008-02-29 16:37



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-201444-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.727853 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved