We help IT Professionals succeed at work.

How to display the images in datalist in 1.1 framework from database

muneerz
muneerz asked
on
Medium Priority
436 Views
Last Modified: 2013-11-07
I have a database in which i am storing the images and wish to display the images in datalist and above and below  datalist wish to give hyper links and details of images

i have joined the SQL query as below:

select * from tblimages INNER JOIN tblid on tblimages.imgid =tblid .imgid INNER JOIN
tbldsiplay on tbldsiplay .text=tblimages .text

In above query i have also stored image in the tblimages which should be repeated till the condition met .

Please provide me step by step how to complete the task
Comment
Watch Question

Commented:
hello muneerz,

would you please have a look at the following articles

http://www.careerride.com/ASP-NET-Datalist-Image.aspx
http://authors.aspalliance.com/das/datagridimages.aspx

Best Regards,
Mohamed Allam
Senior Software Engineer

Author

Commented:
the first link is not explaining how to get the images from sql server

second link is not working as it is datagrid, please help me with datalist

Author

Commented:
I am unable to understand the code.

Please atleast tell me how can i retreive the image path from database

i have one tbl in which one column is storing the path , please guide me how to get that images
Commented:
Hello muneerz,

this is a very simple example to retrieve the image from the database.

http://www.codeproject.com/KB/database/ImageSaveInDataBase.aspx

if you require further assistance please let me know.

Best Regards,
Mohamed Allam
Senior Software Engineer

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
points already given
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.