R
richzhe
Unregistered / Unconfirmed
GUEST, unregistred user!
源代码处是:<br> DataModule1.qry_Goods.SQL.Clear;<br> DataModule1.qry_Goods.Close;<br> DataModule1.qry_Goods.SQL.Add('select GoodsID from Goods where name="');<br> DataModule1.qry_Goods.SQL.Add(rzdblkcbb_Goods.Text+'"');<br> DataModule1.qry_Goods.Open;<br>调试中查看SQL语句却是<br>'select GoodsID from Goods where name="'#$D#$A'织麦"'#$D#$A<br>请DX看一下,这是什么问题?