Aspose.Cells.GridWeb.Examples.CSharp.Articles.UsingClientSideRangeFunctions.LoadData C# (CSharp) Method

LoadData() private method

private LoadData ( ) : void
return void
        private void LoadData()
        {
            // Gets the web application's path.
            string path = (this.Master as Site).GetDataDir();

            // Clear the sheets
            GridWeb1.WorkSheets.Clear();

            // Load the file
            GridWeb1.ImportExcelFile(path + "\\Articles\\Data.xlsx");
        }
    }
UsingClientSideRangeFunctions