Thanks, but the image is not in a file. It came from the client, and only
exists on the server as a System.Web.UI.WebControls.Image control.
Jim
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:eX**************@TK2MSFTNGP09.phx.gbl...
If it's on the same server, you are running the app, you could use
FileStream for example. If on another server, request it from the server and
read with BinaryReader.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"Jim Hammond" <jh******@postalinnovations.com> wrote in message
news:Om**************@TK2MSFTNGP12.phx.gbl...
Is there any way to convert a System.Web.UI.WebControls.Image to byte[] so
that the image can be stored in a DB?
Thanks,
Jim