Author: Zimboy | Posted on: 9/1/2010 7:16:31 PM | Views : 263

 
Hi Coders

I have an application where I use an ImageHandler to display pictures added using the fileupload control to sql2005 server database as Binarydata.

The pictures upload fine and are shown in the table however when I attempt to then display these pics all I get is red x , all the other fields associated are showing

is it possible that my operating system "Windows7" could be also be causing problems with displaying pics?

'this is my upload page
PicDisplay.aspx

Imports System.Data.SqlClient
Imports System.Web.Profile
Imports System
Imports System.Data
Imports System.Configuration
Imports System.Web
Imports System.Web.Security
Partial Class PicDisplay
Inherits System.Web.UI.Page
Private sqlMyConnect As SqlConnection
Private sqlMyCmd As SqlCommand
Private sqlMyDataRead As SqlDataReader
Private strSql As St ...

Go to the complete details ...