Results 1 to 2 of 2

Thread: Retreive image from SQL and display in a UserControl.ascx

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    1

    Lightbulb Retreive image from SQL and display in a UserControl.ascx

    I working in Visual Studio 2003 Visual Basic. SQL server 2000 is the database.

    I want to create a usercontrol.ascx that will retrieve jpeg images stored in a SQL table as 'image' and display the image inside the usercontrol.ascx, either in a datalist or simply within a html table.

    Can anyone show how this is done. It seems like a black art. I cant find a single example, yet I would have thought it was a fundemental process.

    I am reasonably competent with ADO.Net so can store an image in the SQL table and retreive it, I dont know how to use that data to rebuild the image and display it within the usercontrol.ascx.

    Any help, even code examples and working sites would be much appreciated.

    Scamps

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Retreive image from SQL and display in a UserControl.ascx


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width