Aspose.Cells.GridWeb.Examples.CSharp.Worksheets.AddHyperlinks.InitData C# (CSharp) Method

InitData() private method

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

            string fileName = path + "\\Worksheets\\Hyperlink.xls";

            // Clears datasheets first.
            GridWeb1.WorkSheets.Clear();

            // Imports from an excel file.
            GridWeb1.ImportExcelFile(fileName);
                        
            AddTextHyperlinks();
            AddImageHyPerlinks();
            AddCellCommandHyperlinks();
        }