hi!
i am using datagrid to display images. when i click insert button image is insert into datadase and also databind image is displayed in datagrid.its working.
but my aim is when i retrive the data, image dimensions is changed to 100*100. i give height and width of image control.but image size is take to original size and control size is 100*100.
my doubt is it display total image is 100*100
any code to do this. using itemtemplate we decrease image size?
thanks
Decrease image size in databound
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rajneesh Kumar58 reputationPosted Mar 5, 2010, 6:27 AM EST
as
Hope helps you.........
Thanks....
ajay rajuRank #4,639 · 333 reputationPosted Mar 5, 2010, 7:10 PM EST
i am also using this. but that image drag to another page it display total image size. how can i do it.
thanks.
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 5, 2010, 8:50 PM EST
Check out my following article on decreasing image size by regenerating them..
http://www.c-sharpcorner.com/UploadFile/vendettamit/GoodQualityThumbnails11252009081608AM/GoodQualityThumbnails.aspx?ArticleID=abcc8c1c-bb88-46b8-8d61-0b4e298786ad
Please mark the answer if it helps.