Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 22nd, 2007, 09:45 AM
Friend of Wrox
Join Date: Jul 2004
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Default Image not displaying

I want to display an Image and data field in one columni n Grid view. Image is not dispalying, data field is displaying, not sure. why please help. Images is Cdive and in folder Images

            <asp:TemplateField HeaderText="Company" HeaderStyle-Width=200px>
             <asp:LinkButton ID="LinkButton1" runat=server CommandName="select" >

            <asp:LinkButton ID="LinkButton3" CommandName="select" Runat="Server">

Old June 22nd, 2007, 09:50 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi

hi there..

if you are using always the same image, why not hardcode the path??? the image is not on an image control, is in a link button???

also if you want to use relative paths you forgot a / (~/Images/sList.jpg)



================================================== =========
Read this if you want to know how to get a correct reply for your question:
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
================================================== =========
I know that CVS was evil, and now i got the proof:
================================================== =========
Old June 22nd, 2007, 10:02 AM
Friend of Wrox
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post

quote:Images is Cdive and in folder Images
Also, are you saying that you are picking images from C: Drive???


Don't expect too much, too soon.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error At Displaying An Image asters .NET Framework 1.x 0 September 23rd, 2008 04:20 AM
Displaying Image in a gridview cholletivinod ASP.NET 2.0 Basics 0 July 3rd, 2007 12:29 AM
Displaying a image in asp dhillon555 ASP.NET 1.0 and 1.1 Basics 0 February 18th, 2007 10:16 PM
Image displaying problem creative_eye VB Databases Basics 0 April 7th, 2006 07:44 AM
displaying an image from file stream into an image sanjeet ADO.NET 0 September 23rd, 2005 10:28 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.