how to access this method ?

I have a method in content page of page (abc.aspx), but i want to call this mehod in another page(cde.aspx), how can i do it ?
LVL 22
Tapan PattanaikSenior EngineerAsked:
Who is Participating?
madginoConnect With a Mentor Commented:
You create a new class, add the method in the class, call the class method from both pages.
If you can you should declare it as Shared(vb) or static(c#) to avoid instantiate the class each time.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.