Aspose.Cells.GridWeb.Examples.CSharp.Site.GetDataDir C# (CSharp) 메소드

GetDataDir() 공개 메소드

public GetDataDir ( ) : string
리턴 string
        public string GetDataDir()
        {
            // Gets the web application's path.
            string path = Server.MapPath("~");

            path = path.Replace("CSharp", "Data");
            path = path.Substring(0, path.LastIndexOf("\\"));

            return path;
        }
    }