存 str_sql:='update photo set photo=:photo ';str_sql:=str_sql+' where sex=''女''';with qry_for_show do begin Close;SQL.Clear;SQL.Add(str_sql);Parameters.ParamByName('photo').Assign(img2.Picture.Graphic);ExecSQL;end;读 ...
则相关代码如下:代码 Code highlighting produced by Actipro CodeHighlighter(freeware)http://www.CodeHighlighter.com/-->//存储图片bool SaveImage(CImage*lpImg,_RecordsetPtr pRecordset,char*errormsg){/估算图像需要的内存大小,...