rss
twitter
facebook

Home

DataGridView COL with Image

<asp:TemplateField>
 <ItemTemplate>
  <asp:Image ID="Image1" Height="32px" runat="server" ImageUrl='<%# String.Format("{0}{1}{2}", "PATH", Eval("FIELD"),".jpg") %>' />
 </ItemTemplate>
 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:TemplateField>

0 comentários:

 
Powered by Blogger