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;
这样写语句,还有错就出奇了!