Stream an image into an image control

Discussion in 'ASP .Net Web Controls' started by Leo, Feb 23, 2005.

  1. Leo

    Leo Guest

    Is there a way to stream an image into an asp:image control. I need to take
    an image stored in sql server and stream it into an image control. I know I
    could write it to a file and then set the imageurl but I would like to
    stream it directly into the image control.
    Leo, Feb 23, 2005
    #1
    1. Advertising

  2. Hi Leo,

    There's a technique shown here. You call a page that handles the image
    retrieval:

    Retrieving Images from SqlServer and displaying in a DataGrid - ASP .NET

    http://aspalliance.com/articleViewer.aspx?aId=141&pId=


    "Leo" <> wrote in message
    news:u%...
    > Is there a way to stream an image into an asp:image control. I need to
    > take an image stored in sql server and stream it into an image control. I
    > know I could write it to a file and then set the imageurl but I would like
    > to stream it directly into the image control.
    >
    Ken Cox [Microsoft MVP], Feb 23, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rasmusson, Lars
    Replies:
    1
    Views:
    754
    popov
    Apr 30, 2004
  2. Replies:
    9
    Views:
    628
    Alex Buell
    Apr 27, 2006
  3. Alexander Korsunsky

    get stream mode flags from an opened stream

    Alexander Korsunsky, Feb 17, 2007, in forum: C++
    Replies:
    1
    Views:
    452
    John Harrison
    Feb 17, 2007
  4. dolphin
    Replies:
    6
    Views:
    555
    Thomas Fritsch
    Mar 18, 2007
  5. mrstephengross
    Replies:
    3
    Views:
    397
    James Kanze
    May 10, 2007
Loading...

Share This Page