To bind data using a static method use the following syntax:
<asp:Label ID="Label1" runat="server" Text='<%# Namespace.Class.Method( DataBinder.Eval( Container.DataItem, "FieldName")) %>'> </asp:Label>
To bind data using a static method use the following syntax:
<asp:Label ID="Label1" runat="server" Text='<%# Namespace.Class.Method( DataBinder.Eval( Container.DataItem, "FieldName")) %>'> </asp:Label>