string l_sql = "Update CN_PRODUCT set [P_Name]='" + P_Name + "',[P_Content]='" + P_Content + "',[P_Picture]='" + P_Picture
            + "',[Class_ID]='" + brand_ID

            + "',[Price]='" + price
            + "',[Year]='" + Year
            + "',[Count]='" + Count
            + "',[Contacter]='" + Contacter
            + "',[mobile]='" + mobile
            + "',[qita]='" + qita
            + "',[source]='" + source

            + "' where P_ID=" + P_ID;

 

这样写语句,还有错就出奇了!

 posted on 2010-07-03 21:35  ddxgc  阅读(123)  评论(0编辑  收藏  举报