Author: suprodeep | Posted on: 6/9/2008 12:02:22 AM | Views : 764

Hi All,

I have a table with the following fields (CategoryName, ImageUrl).  Now i have been storing the image url of the category names with the following path ~/Images/Image Name.  Now i am trying to use a fileUpload control to save or upload the images into this specific folder.  . These images are to be  displayed in one of my webform. All the images are being displayed apart from the ones which only has got the filename in the DB.  So i guess it is not able to locate the images. If i use FileUpload1.PostedFile.Saveas method it only saves the filename, so anything apart from this ~/Images/ImageName doesnt get displayed so i need to save the file in this specific manner (~/Images/Image Name).  Please suggest how to go about and can it be done using triggers.

 

 

 
...

Go to the complete details ...