Hi,assuming i have a description field which needs truncating and i want to display that truncated data in a data grid...how do i do this? If I want to make it a hyperlink as well what do i need? Do I need a template column? ThanksI believe you _do_ need to use a template column:<BR><BR><asp:TemplateColumn HeaderText="MyField" ><BR> <ItemTemplate><BR> <%# Left(Container.DataItem("MyField"), 20) %><BR> </ItemTemplate><BR></asp:TemplateColumn><BR><BR><!-- and the link... --><BR><BR><asp:TemplateColumn HeaderText="MyField" ><BR> <ItemTemplate><BR> <a href=http://aspmessageboard.com/archive/index.php/"somepage.aspx"><%# Left(Container.DataItem("MyField"), 20) %></a><BR> </ItemTemplate><BR></asp:TemplateColumn><BR><BR>thanks a lot for helping me
I would never have figured it out.
