Aspose.Cells.GridWeb.Examples.CSharp.RowsAndColumns.AddRowsColumns.LoadData C# (CSharp) Метод

LoadData() приватный Метод

private LoadData ( ) : void
Результат void
        private void LoadData()
        {
            // License li = new  License();
            // li.SetLicense(@"D:\grid_project\ZZZZZZ_release_version\Aspose.Total.20141214.lic");

            // Gets the web application's path.
            string path = (this.Master as Site).GetDataDir();

            string fileName = path + "\\RowsAndColumns\\SampleData.xlsx";

            // Imports from an excel file.
            GridWeb1.ImportExcelFile(fileName);
            GridWeb1.ActiveCell = GridWeb1.WorkSheets[0].Cells["A1"];
        }