473,513 Members | 2,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Show image in a table

26 New Member
Hello,

I have the following table. Now, in the Image column i want to add an image for each row. How can i do it? Can anyone please help in this:


Expand|Select|Wrap|Line Numbers
  1.  
  2. <asp:table id="Table3" style="Z-INDEX: 102; LEFT: 50px; POSITION: absolute; TOP: 476px" runat="server" Height="28px" Width="689px" Font-Size="Medium" GridLines="Both" Font-Names="Calibri">
  3.  
  4. <asp:TableRow>
  5.  
  6. <asp:TableCell BackColor="White" ForeColor="Black" Width="90px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" BorderColor="White" Text="Item Id"></asp:TableCell>
  7.  
  8. <asp:TableCell Width="120px" Font-Names="Calibri" Font-Bold="True" Text="Title"></asp:TableCell>
  9.  
  10. <asp:TableCell Width="65px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" Text="Author"></asp:TableCell>
  11.  
  12. <asp:TableCell Width="80px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" Text="Price"></asp:TableCell>
  13.  
  14. <asp:TableCell Width="80px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" Text="Image"></asp:TableCell>
  15.  
  16. </asp:TableRow>
  17. </asp:table>
  18.  
  19.  
Jan 2 '08 #1
6 1215
Frinavale
9,735 Recognized Expert Moderator Expert
What have you tried so far?


Hello,

I have the following table. Now, in the Image column i want to add an image for each row. How can i do it? Can anyone please help in this:


Expand|Select|Wrap|Line Numbers
  1.  
  2. <asp:table id="Table3" style="Z-INDEX: 102; LEFT: 50px; POSITION: absolute; TOP: 476px" runat="server" Height="28px" Width="689px" Font-Size="Medium" GridLines="Both" Font-Names="Calibri">
  3.  
  4. <asp:TableRow>
  5.  
  6. <asp:TableCell BackColor="White" ForeColor="Black" Width="90px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" BorderColor="White" Text="Item Id"></asp:TableCell>
  7.  
  8. <asp:TableCell Width="120px" Font-Names="Calibri" Font-Bold="True" Text="Title"></asp:TableCell>
  9.  
  10. <asp:TableCell Width="65px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" Text="Author"></asp:TableCell>
  11.  
  12. <asp:TableCell Width="80px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" Text="Price"></asp:TableCell>
  13.  
  14. <asp:TableCell Width="80px" Font-Names="Calibri" Font-Bold="True" HorizontalAlign="Center" Text="Image"></asp:TableCell>
  15.  
  16. </asp:TableRow>
  17. </asp:table>
  18.  
  19.  
Jan 2 '08 #2
zeeshanks
26 New Member
Hello,

I 'm already inserting in the other columns and i have the image path (http://localhost/images/small/logo.jpg) which is also being inserted in the Image column but i dont know how it can be displayed.





[code]
What have you tried so far?
Jan 3 '08 #3
kunal pawar
297 Contributor
Image can display using Image control or using .aspx page having content type image
Jan 3 '08 #4
Frinavale
9,735 Recognized Expert Moderator Expert
Please take a look at the Image Class. This link contains a bunch of walkthroughs and tutorials that will help you understand how to use the Image Control.

-Frinny
Jan 3 '08 #5
zeeshanks
26 New Member
I 'm still not able to show the image in the table. It only shows the link of the image.

Do i need to change the "Image" Column type in the table declaration in HTML section of the form?




Please take a look at the Image Class. This link contains a bunch of walkthroughs and tutorials that will help you understand how to use the Image Control.

-Frinny
Jan 3 '08 #6
Frinavale
9,735 Recognized Expert Moderator Expert
I 'm still not able to show the image in the table. It only shows the link of the image.

Do i need to change the "Image" Column type in the table declaration in HTML section of the form?
Please post your code again.
I'm not sure why you'd be getting a link instead of an image if you're using an Image control...I have to see what you're doing.

-Frinny
Jan 3 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
148523
by: Steve Speirs | last post by:
Hi I'm trying to show/hide a simple piece of text and a text field on a form based on what choice is made from a drop down box. <select name="dropdown" size="1"> <option selected...
5
2161
by: Zambien | last post by:
Hi all, Here's my problem. I have tables that are using the menu/submenu idea for hiding rows. This works fine in IE (of course) and does show/hide correctly in netscape, but as soon as the...
10
4626
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide...
9
12374
by: Michael Burtenshaw | last post by:
I would like to make a slide show using random images. The problem is my host is 250.com, and they don't support cgi-programs. Is there another way to accomplish random images?
2
2685
by: J Sahoo | last post by:
Hi, I have a browse page where I am showing few fields from my SQL Server table. One of the field is Image type, all the fields are bound to a single table. I want to show the image from the...
8
6309
by: handersonVA | last post by:
Hello, I'd like to put small images around a big image, so when a small image is clicked, that image is shown as a big image in the center. how should I do that? I will use a table tag to organize...
1
4913
by: basavaraj koti | last post by:
I need to show image using xslt Below provided in my xml and xslt. <?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="text/xsl" href="../xyz.xsl"?> <Grade class="03"...
6
5406
by: yogarajan | last post by:
Hi All <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> </HEAD> <style type="text/css"> #map {
3
3527
by: janetopps | last post by:
I have a news website, with asp pages, which was on Access, and i upgraded to MySQL, i used Bullzip to transfer the data. It had about 1000 pages, which im now able to pull up on the public side. Im...
1
3782
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5086
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.