View Single Post
  #2 (permalink)  
Old February 19th, 2008, 11:37 PM
jomet jomet is offline
Friend of Wrox
Points: 601, Level: 9
Points: 601, Level: 9 Points: 601, Level: 9 Points: 601, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2005
Location: Cochin, Kerala, India.
Posts: 183
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Hi,

check whether your query returns something
is there exist some data in the table with this chartid etc.

SELECT * FROM tab_charts where chartid= ' " + Id + " '

how u inserted image data into db.
==================
other way to increase perfomance..

u have to upload images in to a folder
and store the file path in db

for displaying
retrieve the filepath
and display it using <img src="path">
buy doing this u can avoid the extra fetch from the db..

regds,


jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.
Reply With Quote