Click here to Skip to main content
15,886,030 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more: (untagged)
I've got large images in DB and after GridView control is bound to DataSet the GridView.ImageField column becomes very large. How to restrict the max size of the GridView.ImageField column?

Posted

You have set width and height of ImageFiled.
Displaying Image in Gridview from Database[^]

 
Share this answer
 
You may also need to set the height and width under ControlStyle for the imagefield column
 
Share this answer
 
If possible try to crop that image & show it or like earlier answer mention the height
 
Share this answer
 


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