Article View: borland.public.delphi.database.dotnet
Article #15Retrieving an image/varbinary(MAX) from database?
From: Brigitte Spatz
Date: Wed, 31 Jan 2007 08:04
Date: Wed, 31 Jan 2007 08:04
8 lines
1372 bytes
1372 bytes
On the Web I've found a C# example of how to retrieve an image stored as varbinary(MAX) from SQL Server: byteBLOBData = (Byte[])(ds.Tables["BLOBTest"].Rows[c - 1]["BLOBData"]); but I can't find what the Delphi equivalent of the (Byte[]) conversion is. TIA. Brigitte
Technical Details
Message-ID:
<45c04d53@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,3ecc195b7011d529,start X-Google-Attributes: gid1effe6,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 31 Jan 2007 09:04:22 +0100 From: Brigitte Spatz <brigitteNOSPAM.spatz@svenmahn.de> Organization: Sven Mahn IT-Systementwicklungen User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.delphi.database.dotnet Subject: Retrieving an image/varbinary(MAX) from database? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000709-0, 30/01/2007), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 89.54.114.95 Message-ID: <45c04d53@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1170230611 89.54.114.95 (31 Jan 2007 00:03:31 -0800) Lines: 8 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail