Knowledge Base

Snippets

11

Try this . . . .

<asp:TemplateField HeaderText="Thank You Letter">

<ItemTemplate>

<asp:Label ID="lblTYLetter" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Description").ToString().PadRight(80).Substring(0,80).TrimEnd() %>'></asp:Label>

</ItemTemplate>

</asp:TemplateField>

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.