Y
yangh888
Unregistered / Unconfirmed
GUEST, unregistred user!
请教:<br> with adoquery1 do<br> begin<br> close;<br> sql.clear;<br> sql.Add('insert into test(name,draw) valuesimgname,:imgblob)');<br> Parameters.ParamByName('imgname').Value := ChangeFileExt(ExtractFileName(opendialog1.Files.Strings), '');<br> Parameters.ParamByName('imgblob').DataType := ftBLOB;<br> Parameters.ParamByName('imgblob').LoadFromStream(Stream,ftBLOB);<br> Parameters.Refresh;<br> ExecSQL;<br> end;<br>为何提示参数“imgname”“imgblob”找不到??