I added a C# utility class to my project. Now I would like to call that
class from a web page, but I'm not sure how to do it.
This is the new class:
public class autility : System.ComponentModel.Component
{
....
public bool Write_Log(System.Web.UI.Page Page, string strSessionLogText)
{
....
Calling code:
Write_Log (Page, "Message");
I receive the error:
The name 'Write_Log' does not exist in the class or namespace 'Project.Page'
How can I reference the function correctly?
Thanks!