Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4271062
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:23:27+00:00 2026-05-21T07:23:27+00:00

My web application retrieves the location of an image from database. I’d like to

  • 0

My web application retrieves the location of an image from database. I’d like to show the image in listview using image control. Although my database gives the correct location of my image, for some reason, my web application cannot render the image file. (When I put the same address in another image control, the image appears.) Does anybody have clue on this matter? Thanks in advance. My codes in listview are:

        <ItemTemplate>
            <td runat="server" style="">
                <asp:Image ID="albumImage" ImageURL = '<%# Eval("imgLocation") %>' runat="server" AlternateText= '<%# Eval("imgLocation") %>' /><br />
                <asp:Label ID="albmNameLabel" runat="server" Text='<%# Eval("albmName") %>' />
                <br />
            </td>
        </ItemTemplate>

HTML generated by the portion of my web application is:

           <td style="">
                <img id="ListView1_albumImage_0" src="C:\odaiba.png" alt="C:\odaiba.png" /><br />
                <span id="ListView1_albmNameLabel_0">tokyo trip</span>
                <br />
            </td>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T07:23:28+00:00Added an answer on May 21, 2026 at 7:23 am

    Rather than put the image at C:\, I would strongly urge you to make an images folder in your web project and update your database to refer to the images with a relative path: images/odaiba.png.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Android application which retrieves information from the web using an AsyncTask
I am designing a web application that retrieves records from a database according to
I'm writing a web application that constantly retrieves XML components from a database and
I am writing a web application which retrieves a lot of data using AJAX
The web application I'm working on serves up images with URLs like /image?name=a.gif. Pages
I am creating an application which retrieves images from the web. In case the
I am busy working on a mobile application that retrieves data from a web
My Flex/AS3 web application accesses a database and retrieves text containing \n for newline
I am working on a WP7 application that retrieves data from a web service.
I'm creating Windows Store application, that retrieves data asynchronously from web service and then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.