PageBase.UrlBase.ToString() 这段代码是什么意思,需要引用什么命名空间?
using System.?

解决方案 »

  1.   

    PageBase?自己写的吧?http://www.wilsondotnet.com/Code/?path=Templates&file=PageBase.cs
      

  2.   

    PageBase.UrlBase is used to get the prefix for URLs.
    如下:
    public static String UrlBase
    {
    get
    {
    return @"http://" + UrlSuffix; 
    }
    }
    private static string UrlSuffix
    {
    get
    {
    return HttpContext.Current.Request.Url.Host + HttpContext.Current.Request.ApplicationPath;
    }
    }你说的PageBase是duwamish中的一个类
    需要安装duwamish.msi
    位于\Program Files\Microsoft Visual Studio .NET 2003\Enterprise Samples\Duwamish 7.0 CS
      

  3.   

    PageBase 是自己写的页面基类