locked
MS access help required RRS feed

  • Question

  • User2095221599 posted

    hi to all

    i am making a web application using MS access database the problem is that i want to store the image location in my data base and how i can using that address i show the images on webpage that address is stored in database, plz help me

    Thursday, December 23, 2010 4:28 AM

Answers

  • User-821857111 posted

    You can set it as the ImageUrl property of an Image control.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 23, 2010 5:26 AM

All replies

  • User-821857111 posted

    You can set it as the ImageUrl property of an Image control.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 23, 2010 5:26 AM
  • User1264210393 posted

    Check this..

    http://forums.asp.net/p/1414069/4204859.aspx

    Thursday, December 23, 2010 5:26 AM
  • User-525407762 posted

    Upload the image to server, and save just its name in the database, when you want to show this image then get the name from the data base and append it with the path where you uploaded the image and assign this to the imageurl property of the image control.

     

    Example if you uploaded the abc.gif  in uploads folder at the root of your web site then you can assign it to the image control like

    Image1.ImageUrl="~/uploads/"+name of the image from database.

    Thursday, December 23, 2010 5:40 AM