Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I want to show the Images tat are uploaded in a grid view..can anyone help this?
Posted

solution is....

store image's full path use in website in a database column e.g. ~/imageFolder/fileName.jpg

than
1. take a grideview control
2. choose your data source and data table with > arrow at top of gridview
3. than click on edit column link.
4. take ImageField from available field to selected field.
5. set its property of dataImageUrlField as path of the file of picture stored in your database.

Image will show in gridview table. you can also sort and select the files of gridview.
 
Share this answer
 
v2
 
Share this answer
 
v2
Comments
deepakaitr12345 8-Feb-13 7:42am    
5/5
Abhishek Pant 8-Feb-13 9:47am    
thanks but not voted.

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