Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Pls tell me how to show images in gridview horizontly, my gridview image repeate in record in single row , but i want to show images horizontly.
Posted
Comments
web works 15-Apr-11 14:18pm    
Do you have any code done? or could you paste any code so we can see and help you ?
Sandeep Mewara 15-Apr-11 14:21pm    
Place the picturebox in grid and assign the image to it.

Whats in it? What about this horizontal thing? Not clear on where you are stuck.
Albin Abel 15-Apr-11 15:00pm    
Hi chander rani I saw all your four questions are just two lines of explanation. you can use google translator from your language to english. Hope that helps. As of now to question confuses every one.

1 solution

Use Datalist instead of GridView. In Datalist use the properties RepeatColumns & RepeatDirection="Horizontal", that's all.

Here you go

Display images in DataList from Database[^]

Binding images to a DataList control dynamically[^]
 
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