string orderstate = "select PID,PName,PVender,PGroup,PPrice,PDiscount,OID,OPID,OUID,OQuantity,OBuy ,PPrice*PDiscount*0.1 nowprice,PPrice*PDiscount*OQuantity*0.1 allprice from Product,Price,Order where Order.OPID=Producr.PID and Order.OPID=Price.PPID and Order.OBuy=1 ";
哪位高手能指点一下,谢谢
------解决方案--------------------------------------------------------
给Order加上[Order]试试
------解决方案--------------------------------------------------------
Order时关键字
------解决方案--------------------------------------------------------
Order 是关键字 要用[Order] 才行
------解决方案--------------------------------------------------------
嗯,把order字段用[]括起来。
------解决方案--------------------------------------------------------
[Order]
------解决方案--------------------------------------------------------
來晚了
把Order括起來﹗