DelphiÊý¾Ý¿âͼƬÎÊÌâ - Delphi / Êý¾Ý¿âÏà¹Ø
ÎÒÓõÄÊÇsql server2000£¬ÀïÃæ´æÓÐ×ֶΣºÕÕƬ image
ÎÒ²»Ã÷°×Ôõô°ÑͼƬ´æÈëÊý¾Ý¿âÖУ¿
ÎÒ»¹ÔÚDelphiÖн¨Á¢ÁË´°Ì壬ÈçºÎ½«Êý¾Ý¿âÖеÄͼƬһ²¢ÏÔʾ³öÀ´£¬ÎÒÓõÄÊÇDBGridºÍImage
ÈçºÎ½«Á½Õß¹ØÁªÆðÀ´£¿£¡
²Î¿¼(ÎһصÄÊÇoracle,sqlserverͬÀí):
http://topic.csdn.net/t/20051215/18/4461795.html
ÆäʵÍøÉÏÀý×ӺܶàµÄ,¼ÇµÃCSDNÉϾÍÓжàÈËÎʹý
ÎҵijÌÐòÀïÃæ²»¿É´øÓоø¶Ô·¾¶µÄ°¡£¬ÎÒÒªµ½±ðµÄµØ·½ÔËÐеİ¡£¬Èç¹û´øÓз¾¶µÄ»°¾Í²»ÄÜÔÚ±ðµÄµØ·½ÓÃÁË£¡°ÚÍѸøÎÒÒ»¸ö¿ÉÒÔÖ±½Óµ½Êý¾Ý¿âÀý´æºÍÄõijÌÐò°¡~°ÚÍÑÀ²~
ͼƬµ¹ÈëÊý¾Ý¿âºó,¾Í²»ÓÃÎļþÁË
Ò»°ã´¦ÀíµÄ·½·¨,¸øÓû§µÄÊý¾Ý¿âÖоÍÓÐͼƬÁË,Ö»ÒªÌáÈ¡ÏÔʾ¾Í¿ÉÒÔÁË,Èç¹ûÓû§Òª×Ô¼º½«Í¼Æ¬Ð´ÈëÊý¾Ý¿â,¿ÉÄã×Ô¼º´¦ÀíÒ»ÏÂ,ÓÃDialgÌáʾ»ò´ÓINIÎļþÖÐȡ·¾¶
¶þÂ¥µÄÄã·¢¸øÎÒµÄÖ»ÄÜÊÇ¿Õ±íµÄʱºò²åÈëͼƬ£¬µ«ÎÒµÄÖ÷¼üÒѾÓÐÀ²£¬Èç¹ûÓÃinsertµÄʱºò¾Í»á³öÏÖѧºÅÖ÷¼ü²»¿ÉÖظ´µÄÌáʾ
µ«Èç¹ûÓÃupdateµÄ»°£¨ÈçÏ´úÂ룩£»
procedure TfrmStudentInfoManage.Label10Click(Sender: TObject);
var
Ms:TmemoryStream;
jpg:Tjpegimage;
begin
if OpenPictureDialog1.Execute then
begin
Image1.Picture.LoadfromFile(OpenPictureDialog1.FileName);
ms:=TmemoryStream.Create;
Jpg:=TJpegImage.Create;
Jpg.Assign(Image1.Picture.Graphic);
Jpg.SaveToStream(Ms) ;
Ms.Position :=0;
adoquery1.Close;
adoquery1.SQL.Clear;
&nb
Ïà¹ØÎÊ´ð£º
¾ÍÊÇÒ»¸ö·þÎñ¶ËºÍÒ»¸ö¿Í»§¶Ë£¬Àï±ßÓÐһЩ¹²Óõ¥Ôª £¬ÎÒÔÚ ¹¤³ÌµÄSEARCH PATHÀïÉèÖõÄ·¾¶£¬
Àï±ßÓиö½á¹¹Ì壬ÎÒÔÚ·þÎñ¶Ë´ò¿ª£¬¼ÓÁ˳ÉÔ±£¬µ«ÊÇÎÒÔÚ¿Í»§¶ËÆäËûµ¥Ôª·ÃÎʲ»µ½ÎÒмӵģ¬ÎÒÔÚ¿Í»§¶Ë´ò¿ªÄǸöµ¥Ôª£¬È·Êµ¼ÓÁ ......
Ò»Ö±ÏëʹÓÃdll£¬µ«delphiµÄdll×Ó´°Ìå¾³£Óи÷ÖÖÎÊÌ⣬±ÈÈçÖ÷´°¿ÚÓëdll×Ó´°¿ÚµÄ½¹µãÎÊÌ⣬×Ó´°¿ÚÖпؼþµÄtab¼ü¡¢Èȼü¡¢enter¼üµÈµÄÎÊÌ⣬×Ó´°¿ÚÍ˳öµÄÎÊÌ⡢ƽÃæ°´Å¥ÎÊÌâµÈµÈ£¬ÍøÕ¾ÉϽøÐÐÁËËÑË÷£¬Ã»ÓбȽÏÍêÃÀµÄ½â¾ö· ......
//DLL ·ÅÔÚEXEÖÐûÎÊÌâ
function SkinForm(var skfrm:TForm):Integer;stdcall;
var
skf:TbsBusinessSkinForm;
nskfrm:TForm;
begin
frmUUMain:=skfrm;
skf:=TbsBus ......