473,395 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Image from SQL to new Image or Placeholder

I am looking for a way to read an Image from SQL directly to a new Image or
Placeholder. I have not been able to find any examples other than
Response.OutputStream.Write or similar.

Thanks for any help
Brian K. Williams
Nov 15 '05 #1
2 2015
You will not be able to accomplish this witht he current versions of
ASP.NET.

What you can do is create a .aspx that uses the OutputStream.Write method to
output an image, then put
something like:
<img src="myimagedownloader.aspx?id=4"/>
into your placeholder.

I have heard rumors that the next version of ASP.NET shipping with "Whidbey"
will have an image control that will take a System.Drawing.Image or Stream
and render the image without having to resort to this extra page.

"Brian K. Williams" <wi*******@millenia.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
I am looking for a way to read an Image from SQL directly to a new Image or Placeholder. I have not been able to find any examples other than
Response.OutputStream.Write or similar.

Thanks for any help
Brian K. Williams

Nov 15 '05 #2
Worked perfect...
Thanks for the help..

Brian K. Williams

"Philip Rieck" <st***@mckraken.com> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...
You will not be able to accomplish this witht he current versions of
ASP.NET.

What you can do is create a .aspx that uses the OutputStream.Write method to output an image, then put
something like:
<img src="myimagedownloader.aspx?id=4"/>
into your placeholder.

I have heard rumors that the next version of ASP.NET shipping with "Whidbey" will have an image control that will take a System.Drawing.Image or Stream
and render the image without having to resort to this extra page.

"Brian K. Williams" <wi*******@millenia.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
I am looking for a way to read an Image from SQL directly to a new Image

or
Placeholder. I have not been able to find any examples other than
Response.OutputStream.Write or similar.

Thanks for any help
Brian K. Williams


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cybex | last post by:
Who knows how this is done: http://www.danasoft.com/vipersig.jpg As you can see the signature is dynamical, it uses gdlib I assume and php. But does anybody have any code for this? Please help...
2
by: Peter Wallington | last post by:
Hi All, Can anyone help me out with this one. I have a basic aspx page with an image placeholder on it. I want to be able to click a button on the page and have a dialog window appear where I can...
4
by: nicholas | last post by:
How can I show or hide an image in a datagrid depending on a field. Something like: if myfield <> "" then 'show image' else 'show noimage.gif' end if the image field contains the image name...
8
by: david.sargent | last post by:
ok, I am just learning this stuff, small stupid question here...I am trying to swap images in a little ajax application, and the code handling that looks like... document.placeholder.src...
3
by: BB | last post by:
Hi, I am using repeater control.in my aspx page. one of the column of control displays images. Filenames of images are stored in table. Now when I run it and if display Image is blank. I see place...
24
by: Manuel | last post by:
Is it possible to embed an image, like a company logo in a CDOSYS generated message? If yes, I´ll apreciate some code sample. I´ve been able to format messages in html the way I like, but I...
10
by: cjparis | last post by:
Hello everyone. If anyone can give me a hand I would be gratefull Am doing a site which requires a moving element and have used DHTML to do it. Have a simple Browser detect script to sort IE...
2
by: jrobexe | last post by:
.NET ASP Visual Studio 2005 Visual Basic I have a table with eight placeholders: plc1 - plc8. The behind code: Dim p As Integer = New Integer Dim plc As PlaceHolder = New...
3
by: krzysztof.murkowski | last post by:
Hi, I have problem with JavaScript for gallery of images. From the overview page with thumbnails, after a click on the small picture, the subpage 'slide_show.html' is called, with a number of...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.