TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
CHAITANYA KIRAN KASANI
NA
335
133.1k
How to Display Binary Images Dynamically In A Table
Jan 21 2013 7:30 AM
Hi....
I Am Retrieving Data From Database And Displaying In Table Dynamically
For That I Had used The Code in .cs file
StringBuilder b = new StringBuilder();
b.Append("<table style='background-color:#f3f3f3; border: #336699 3px solid; ");
b.Append("width:750px; font-size:10pt; font-family:Verdana;' cellspacing='0' cellpadding='3'>");
b.Append("<tr><td colspan='4' style='background-color:#336699; color:white;'>");
b.Append("<b>Product Details</b>"); b.Append("</td></tr>");
b.Append("<tr><td style='width:80px;'><b>Product Name</b></td>");
b.Append("<td style='width:350px;'><b>Product Description</b></td>");
b.Append("<td style='width:50px;'><b>Product Price</b></td>");
b.Append("<td style='width:200px;'><b>Product Image</b></td></tr>");
b.Append("<tr>");
b.Append("<td>" + table.Rows[0]["ProductName"].ToString() + "</td>");
b.Append("<td>" + table.Rows[0]["ProductDescription"].ToString() + "</td>");
b.Append("<td>" + table.Rows[0]["ProductPrice"].ToString() + "</td>");
b.Append("<td>" + table.Rows[0]["ProductImage"].ToString() + "</td>");
// Here I am unable to Display The Image ..I Had Tried A lot by giving the Imageurl..but it is not possible.
b.Append("</table>");
pls Help me....
Reply
Answers (
2
)
Need Dumps for Microsoft 70-562 ASP.NET Certification
print rpt file through code