Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
i have saved images in database. Some customers will have 30, another 50... and so on.
I want to retrieve and display the images at front-end. There is one image button inside gridview.
In one row i have to display 8 images. once 8 images are displayed, automatically the 9-16th image should be in new row.how to code for that... can i use gridview? or i need to create table dynamically... suggest me.........
Posted
Comments
Karthik_Mahalingam 20-Jan-14 7:14am    
can u post the code, what you have tried ??

If you only want to display the images, then go for HTML table.

However, GridView is also rendered as HTML table at the browser end. But GridView has many other functionality, which you may not use. So, why to make the page heavy?

Just go for HTML table and apply CSS styles to format the rows and cells.

Good luck, keep coding. :)
 
Share this answer
 
In better way you can use data list.In this also you can do customization for images per rows.
Refer this link
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900