Hi
I have a repeater and want to add a function to a field
the function is this
public static void CreateSendertMe ssage(string server)
{
string s_html;
s_html = server.ToString ();
}
*** the s_html is just for example
the repeater is
<asp:Repeater ID="Grd_subpage s" runat="server">
<ItemTemplate >
<%# CreateSendertMe ssage(DataBinde r.Eval(Containe r.DataItem, "content_name") )%>
%>
</ItemTemplate>
</asp:Repeater>
the error i am getting is
Compiler Error Message: CS1502: The best overloaded method match for '_Default.Creat eSendertMessage (string)' has some invalid arguments
please can anyone help
thanks
hesh
I have a repeater and want to add a function to a field
the function is this
public static void CreateSendertMe ssage(string server)
{
string s_html;
s_html = server.ToString ();
}
*** the s_html is just for example
the repeater is
<asp:Repeater ID="Grd_subpage s" runat="server">
<ItemTemplate >
<%# CreateSendertMe ssage(DataBinde r.Eval(Containe r.DataItem, "content_name") )%>
%>
</ItemTemplate>
</asp:Repeater>
the error i am getting is
Compiler Error Message: CS1502: The best overloaded method match for '_Default.Creat eSendertMessage (string)' has some invalid arguments
please can anyone help
thanks
hesh