Hi everyone,
How can I invoke methods in my codebehind from my .ASPX web form? My method is declared as
public void myFunc()
{
Response.Write ("Hello World"
}
In my .ASPX, I've tried
<script runat="server" language="C#">
myFunc();
</script>
as well as
<% myFun() %>
and both aren't working. Any ideas? Thanks in advance.
How can I invoke methods in my codebehind from my .ASPX web form? My method is declared as
public void myFunc()
{
Response.Write ("Hello World"
}
In my .ASPX, I've tried
<script runat="server" language="C#">
myFunc();
</script>
as well as
<% myFun() %>
and both aren't working. Any ideas? Thanks in advance.