I have a function written in a class in C#. This function returns the path for src attribute of img tag. Now I want to use this in on page this way:
<img src=<%=myclass.GetImageUrl('imagename')%> >
Is it posible to do so in ASP.NET on aspx pages?
Or is there any other waw to call function on a aspx page?