I have been trying to use declarative data bound ASP.NET, and struggling with the "magic" that goes on behind the scenes.
How do I do get this to work in ASP.Net 2.0. This is inside a data bound FormView control.
<asp:Label ID="RecipientsLabel" runat="server"
Text='<%# String.Join("; ", Eval("HtmlEncodedRecipients")) %>'>
</asp:Label>
Note: HtmlEncodedRecipients is a List<string> property.
I get this error:
The best overloaded method match for 'string.Join(string, string[])' has some invalid arguments