🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages Started by Wayne Smith Mon, 26 Feb 2007 20:46
Image and SQL Server
#258
Author: Wayne Smith
Date: Mon, 26 Feb 2007 20:46
6 lines
1158 bytes
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
Re: Image and SQL Server
#259
Author: 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
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads