🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #259

Re: Image and SQL Server

#259
From: Vassiliev V. V.
Date: Tue, 27 Feb 2007 11:23
21 lines
1841 bytes
Save TImage into stream and store stream in BLOB field.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Wayne Smith" <wsmith@epgins.com> �������/�������� � �������� ���������: 
news:45e34730$1@newsgroups.borland.com...
>I am currently writing a simple imaging system.  I am wanting to store the 
>pics inside of the database as an image file.  I assume I should use an 
>Image field to store it.  How can I upload it from the TImage field into 
>the database field?
> Thanks in advance!!!!!
> Wayne Smith
>
> 
Technical Details
Message-ID: <45e41498$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45e34730$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,27505fac0d82d458
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Vassiliev V. V." <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <45e34730$1@newsgroups.borland.com>
Subject: Re: Image and SQL Server
Date: Tue, 27 Feb 2007 14:23:09 +0300
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 000717-1, 26.02.2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 85.93.138.132
Message-ID: <45e41498$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172575384 85.93.138.132 (27 Feb 2007 03:23:04 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail