Click here to Skip to main content
15,912,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi:rose:
How should images displayed on datagridview Will resize in vb.net
For example Resolution 150 * 150
Posted

Your question is not well explained. How are you displaying your images in your DataGridView? What column type are you using? If you are using DataGridViewImageColumn you can set the <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumn.autosizemode.aspx">AutoSizeMode</a>[<a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumn.autosizemode.aspx" target="_blank" title="New Window">^</a>] or Width[^]

For further info read DataGridViewImageColumn [^] and see the example in the bottom of the page.
 
Share this answer
 
Have a look this CP Article, observe resize of Image.
Image Thumbnail Preview in DataGridView[^]
 
Share this answer
 
Thank you very dear friends
Thanks problem solved:rose:
 
Share this answer
 
Comments
Kschuler 1-Mar-11 16:22pm    
If one (or both) of the provided solutions helped you solve your problem, it's a good idea to click Accept Answer to reward those that helped you.

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