<asp:Label ID="lblMyCustom" runat="server" Text='<%# GetCustomText(DataBinder.Eval(Container.DataItem, "ActualStringPropertyName")) %>'></asp:Label>
protected string GetCustomText(object actual) { //Write your logic here to get some words // and return a string. }
Login to post response