Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 March 15th, 2006, 07:38 AM
Authorized User
 
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display Image in Datagrid

I got a lot of image's path that store in sql server. I now facing a problem. My problem is dont know how to display this image in datagrid, i need to use datagrid, due to beside display this image, in the same time, i also need to display the other data of this particular image.
Can everyone help?
Thanks.

 
Old March 15th, 2006, 01:11 PM
Authorized User
 
Join Date: Mar 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
If you have the image path stored in database then why not trying template columns. Follow this link http://authors.aspalliance.com/aspxt...odatagrid.aspx
 for a good article which solves your problem. If the message you want to display is stored as another column in database you can use the same template column to display your message or create some boundcolumns.
eg. <asp:BoundColumn HeaderText="Price" DataField="ColumnName" />
 If you are trying to display the meta information from the image then you can use javascript.


Good Luck,
Sai Puli.

 
Old March 15th, 2006, 03:57 PM
Authorized User
 
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

billmaher, im very thanks for ur helping hand. the article u recommend to me reply help me solve the problem. thanks you very much. have a nice day!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
help with image display dhillon555 ASP.NET 1.0 and 1.1 Basics 21 February 19th, 2007 03:32 PM
How to display an image in a datagrid from a url? fifty59 ASP.NET 1.x and 2.0 Application Design 1 June 13th, 2006 02:10 PM
How to display an image in a datagrid from a url? fifty59 ASP.NET 1.0 and 1.1 Basics 2 January 25th, 2006 12:37 AM
How to Display the image from the image field. mikeparams SQL Server 2000 1 October 29th, 2004 02:23 AM





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