比如:项目中所有的aspx页都要调用:
public string SayHello(string inStr)
{
   return "Hello, " + inStr;
}
是新建一个类然后调用:
publicClass.SayHello(str)
还是继承System.Web.UI.Page
public class PageBase : System.Web.UI.Page还有没有什么好的方法呢?