Trouble with images and database
i have an .aspx website, within the site am planing on having a staff directory, i have setup the search, the results and also a more feature to display all there information.
When you click the More button it is supose to display the text with an image of the person. the images are located on a server and are named via staff ref. below is the code i am trying to use to display but am having no luck so far
any idea where am going wrong as the Eval section works, i just need the rest to
<img src='<%# Server.MapPath(@"\\athens\staffimages$\") + Eval("S_STAFFREFERENCE") + Server.MapPath(".jpg") %>' />
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)