function is set in code behind, but no value is returned
webby2005
10:58 am on Jun 16, 2005 (gmt 0)
I have a code behind file which has a function within. When i try to access this function with an aspx file, 1. how should i refer to it and 2. why is it not returning a value? In fact, does anyone no of any decent code behind examples i can follow?
Easy_Coder
4:57 pm on Jun 16, 2005 (gmt 0)
Assuming that the function accepts and returns a string...
string myResults = myFunction(string parameter);
webby2005
11:55 am on Jun 17, 2005 (gmt 0)
To be honest i had one of those day ( i'm sure we've all had them ) where you spent the best part of the day trying to work out why something didn't work, only to come back after a rest and re-try an application for it to work perfectly. Don't you just hate that? I can't even think why it wasn't working. Thankyou for you response though. Much appreciated.