rp
asked on
vb.net 2008 asp.net function in app_code folder
i have a function (TestImg) called from an aspx:
<asp:Image ID="Image1" runat="server" ImageUrl='<%# TestImg(Eval("img1").ToStr ing())%>' />
and i need to put this code in app_code folder in a vb file.
If the code is in current aspx.vb file for ex. default.aspx.vb al works well, but if i try put code in app_code folder don´t recogniza the function.
<asp:Image ID="Image1" runat="server" ImageUrl='<%# TestImg(Eval("img1").ToStr
and i need to put this code in app_code folder in a vb file.
If the code is in current aspx.vb file for ex. default.aspx.vb al works well, but if i try put code in app_code folder don´t recogniza the function.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you post the function
ASKER
It looks like the following code works:
classname.TestImg(Eval("im g1").ToStr ing()
classname.TestImg(Eval("im