What is the code for setting a image should be fixed.Hardik Bhavsar13yAsked Nov 16, 2013, 6:23 AM1.2kVisual Basic .NETWhat is the code for setting a image should be fixed in GridView Control using ... Size of image should not extend to webpage?Thanking YouHardik Bhavsar
Sanjay Kumar13y agoPosted Nov 16, 2013, 6:59 AMHi <asp:TemplateField HeaderText="Image"> <ItemTemplate> <img alt="" src='<%#Eval("image") %>' height="20px" width="20px" /> ItemTemplate> asp:TemplateField>
Jaganathan Bantheswaran13y agoPosted Nov 16, 2013, 6:45 AMI suggest you to use TemplateField rather than using ImageField.
Sanjay KumarPosted Nov 16, 2013, 6:59 AM
<asp:TemplateField HeaderText="Image">
<ItemTemplate>
<img alt="" src='<%#Eval("image") %>' height="20px" width="20px" />
ItemTemplate>
asp:TemplateField>
Jaganathan BantheswaranPosted Nov 16, 2013, 6:45 AM